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

◆ columns_dot_self() [4/5]

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

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

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

Definition at line 20 of file columns_dot_self.hpp.