|
Macaulay2 Engine
|
| void MatrixOps::mult | ( | const Mat & | A, |
| const Mat & | B, | ||
| Mat & | result_product ) |
the product of two matrices
result_product is set to the product A*B result_product should be a Mat, with the same ring/type as the input matrices A,B. result_product does not need to be the same size as A*B, it will be resized if needed.
throws an engine_error for ring/matrix types where the function is not implemented. throws an error if the number of columns of A is not the number of rows of B. result_prod should not be the same as A or B (assertion error).
Definition at line 197 of file mat-linalg.hpp.