multiply
void multiply(double[] A,
double[] B,
double[] C,
int m,
int n,
int p)
Multiplies two matrices, C = A %*% B.
- Parameters:
A - the left operand, the multiplicand matrix, in row-major representation
B - the right operand, the multiplier matrix, in column-major representation, i.e., row-major representation of transposed B
C - the allocated memory space for storing the result, in row-major representation
m - the number of rows of the multiplicand matrix
n - the number of columns (rows) of the multiplicand (multiplier) matrix
p - the number of columns of the multiplier matrix