1 #ifndef STAN__AGRAD__FWD__MATRIX__MULTIPLY_LOWER_TRI_SELF_TRANSPOSE_HPP
2 #define STAN__AGRAD__FWD__MATRIX__MULTIPLY_LOWER_TRI_SELF_TRANSPOSE_HPP
14 template<
typename T,
int R,
int C>
16 Eigen::Matrix<fvar<T>,R,R>
19 return Eigen::Matrix<
fvar<T>,R,R>(0,0);
20 Eigen::Matrix<fvar<T>,R,C> L(m.rows(),m.cols());
24 for(
size_type j = 0; (j < i + 1) && (j < m.cols()); j++)
Eigen::Matrix< fvar< T >, R1, C1 > multiply(const Eigen::Matrix< fvar< T >, R1, C1 > &m, const fvar< T > &c)
Eigen::Matrix< T, C, R > transpose(const Eigen::Matrix< T, R, C > &m)
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic >::Index size_type
Eigen::Matrix< fvar< T >, R, R > multiply_lower_tri_self_transpose(const Eigen::Matrix< fvar< T >, R, C > &m)