Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ rows_dot_product() [1/5]

template<typename T_a , typename T_b , require_all_kernel_expressions_and_none_scalar_t< T_a, T_b > * = nullptr>
auto stan::math::rows_dot_product ( T_a &&  a,
T_b &&  b 
)
inline

Returns the dot product of rows of the specified matrices.

Template Parameters
T_atype of the first matrix
T_btype of the second matrix
Parameters
aMatrix of first vectors.
bMatrix of second vectors.
Returns
Dot product of the vectors.
Exceptions
std::domain_errorIf the matrices are not the same size

Definition at line 27 of file rows_dot_product.hpp.