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>
Eigen::Matrix< value_type_t< T >, 1, T::ColsAtCompileTime > stan::math::columns_dot_self ( const 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.