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

◆ rows_dot_self() [1/5]

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

Returns the dot product of each row of a matrix with itself.

Template Parameters
T_atype of the matrix
Parameters
amatrix
Returns
Dot product of the vectors.

Definition at line 23 of file rows_dot_self.hpp.