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

◆ rows_dot_self() [4/5]

template<typename Mat , require_eigen_vt< is_var, Mat > * = nullptr>
Eigen::Matrix< var, Mat::RowsAtCompileTime, 1 > stan::math::rows_dot_self ( const Mat &  x)
inline

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

Template Parameters
MatAn Eigen matrix with a var scalar type.
Parameters
xMatrix.

Definition at line 21 of file rows_dot_self.hpp.