1#ifndef STAN_MATH_PRIM_FUN_SIZE_MVT_HPP
2#define STAN_MATH_PRIM_FUN_SIZE_MVT_HPP
24template <
typename ScalarT, require_stan_scalar_t<ScalarT>* =
nullptr>
26 throw std::invalid_argument(
"size_mvt passed to an unrecognized type.");
29template <
typename MatrixT, require_matrix_t<MatrixT>* =
nullptr>
34template <
typename MatrixT, require_matrix_t<MatrixT>* =
nullptr>
35int64_t
size_mvt(
const std::vector<MatrixT>& x) {
int64_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 ...