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

◆ columns_dot_self() [3/5]

template<typename T , require_eigen_t< T > * = nullptr, require_not_eigen_vt< is_var, T > * = nullptr>
auto stan::math::columns_dot_self ( T &&  x)
inline

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

Template Parameters
Ttype of the matrix (must be derived from Eigen::MatrixBase)
Parameters
xMatrix.
Returns
Row vector containing the dot product of each column of the matrix with itself.

Definition at line 21 of file columns_dot_self.hpp.