1#ifndef STAN_MATH_PRIM_FUN_SIZE_MVT_HPP
2#define STAN_MATH_PRIM_FUN_SIZE_MVT_HPP
23template <
typename ScalarT, require_stan_scalar_t<ScalarT>* =
nullptr>
25 throw std::invalid_argument(
"size_mvt passed to an unrecognized type.");
28template <
typename MatrixT, require_matrix_t<MatrixT>* =
nullptr>
33template <
typename MatrixT, require_matrix_t<MatrixT>* =
nullptr>
34size_t size_mvt(
const std::vector<MatrixT>& x) {
size_t size_mvt(const ScalarT &)
Provides the size of a multivariate argument.
The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation ...