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

◆ crossprod() [3/3]

template<typename EigMat , require_eigen_t< EigMat > * = nullptr>
auto stan::math::crossprod ( const EigMat &  M)
inline

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

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

Definition at line 20 of file crossprod.hpp.