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