Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Compute trace(B^T A B).
EigMat1 | type of the first matrix |
EigMat2 | type of the second matrix |
A | matrix |
B | matrix |
std::domain_error | if A is not square |
std::domain_error | if A cannot be multiplied by B |
Definition at line 26 of file trace_quad_form.hpp.