Matrix Math Library

I would like to know in the function below, how is the int m, p and n related to the matrix floatA and floatB?
void MatrixMult(float* A, float* B, int m, int p, int n, float* C);

Where did you find this function?

If you are talking about MatrixMath from the playground then from MatrixMath.cpp

void MatrixMath::MatrixMult(float* A, float* B, int m, int p, int n, float* C)
{
	// A = input matrix (m x p)
	// B = input matrix (p x n)
	// m = number of rows in A
	// p = number of columns in A = number of rows in B
	// n = number of columns in B
	// C = output matrix = A*B (m x n)

Thanks for your help ! :slight_smile:

I am unable to import the library. I don't know the error.Should i copy both codes and paste in arduino IDE?. Please help me!

You could add them to your sketch, yes. As new tabs.