Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Returns the dot product.
T1 | type of elements in the first vector |
T2 | type of elements in 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 36 of file dot_product.hpp.