1#ifndef STAN_MATH_PRIM_FUN_CROSSPROD_HPP
2#define STAN_MATH_PRIM_FUN_CROSSPROD_HPP
19template <
typename EigMat, require_eigen_t<EigMat>* =
nullptr>
Eigen::Matrix< value_type_t< EigMat >, EigMat::RowsAtCompileTime, EigMat::RowsAtCompileTime > tcrossprod(const EigMat &m)
matrix_cl< typename std::decay_t< T_A >::Scalar > crossprod(T_A &&A)
Returns the result of pre-multiplying a matrix by its own transpose.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...