![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
Return the product of the specified matrices.
The number of columns in the first matrix must be the same as the number of rows in the second matrix.
| Mat1 | type of the first matrix or expression |
| Mat2 | type of the second matrix or expression |
| m1 | first matrix or expression |
| m2 | second matrix or expression |
| <code>std::invalid_argument</code> | if the number of columns of m1 does not match the number of rows of m2. |
Definition at line 104 of file multiply.hpp.