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

◆ tcrossprod() [4/5]

template<typename T , require_eigen_vt< std::is_arithmetic, T > * = nullptr>
Eigen::Matrix< value_type_t< T >, T::RowsAtCompileTime, T::RowsAtCompileTime > stan::math::tcrossprod ( const T &  M)
inline

Returns the result of post-multiplying a matrix by its own transpose.

Template Parameters
Ttype of the matrix (must be derived from Eigen::MatrixBase)
Parameters
MMatrix to multiply.
Returns
M times its transpose.

Definition at line 23 of file tcrossprod.hpp.