Stan Math Library
5.0.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 |
std::invalid_argument | if A is not square, or if A cannot be multiplied by B |
Definition at line 54 of file quad_form.hpp.