Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Returns the dot product.
T1 | type of the first vector |
T2 | type of the second vector |
[in] | v1 | First vector. |
[in] | v2 | Second vector. |
std::domain_error | if sizes of v1 and v2 do not match. |
Definition at line 28 of file dot_product.hpp.