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

◆ columns_dot_product() [1/4]

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

Returns the dot product of columns 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 columns_dot_product.hpp.