![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
Return the quadratic form \( B^T A B \) of a symmetric matrix.
| EigMat | type of the (symmetric) matrix |
| ColVec | type of the vector |
| A | symmetric matrix |
| B | vector |
| std::invalid_argument | if A is not symmetric, or if A cannot be multiplied by B |
Definition at line 56 of file quad_form_sym.hpp.