Returns the dot product of rows of the specified matrices.
This overload is used when at least one of Mat1 and Mat2 is a var_value<T>
where T
inherits from EigenBase
. The other argument can be another var_value
or a type that inherits from EigenBase
.
- Template Parameters
-
Mat1 | type of the first matrix |
Mat2 | type of the second matrix |
- Parameters
-
v1 | Matrix of first vectors. |
v2 | Matrix of second vectors. |
- Returns
- Dot product of the vectors.
- Exceptions
-
std::domain_error | If the vectors are not the same size or if they are both not vector dimensioned. |
Definition at line 63 of file rows_dot_product.hpp.