1 #ifndef STAN_MATH_PRIM_MAT_FUN_COLUMNS_DOT_SELF_HPP 2 #define STAN_MATH_PRIM_MAT_FUN_COLUMNS_DOT_SELF_HPP 14 template<
typename T,
int R,
int C>
15 inline Eigen::Matrix<T, 1, C>
17 return x.colwise().squaredNorm();
Eigen::Matrix< fvar< T >, 1, C > columns_dot_self(const Eigen::Matrix< fvar< T >, R, C > &x)