![]()  | 
  
    Stan Math Library
    5.1.0
    
   Automatic Differentiation 
   | 
   
      
  | 
  inline | 
Returns the dot product of rows of the specified matrices.
| Mat1 | type of the first matrix (must be derived from Eigen::MatrixBase)  | 
| Mat2 | type of the second matrix (must be derived from Eigen::MatrixBase) | 
| v1 | Matrix of first vectors. | 
| v2 | Matrix of second vectors. | 
| std::domain_error | If the vectors are not the same size or if they are both not vector dimensioned. | 
Definition at line 33 of file rows_dot_product.hpp.