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 ScalarT, require_stan_scalar_t<ScalarT>* =
nullptr>
30int64_t
size_mvt(
const std::vector<ScalarT>& ) {
34template <
typename MatrixT, require_matrix_t<MatrixT>* =
nullptr>
39template <
typename MatrixT, require_matrix_t<MatrixT>* =
nullptr>
40int64_t
size_mvt(
const std::vector<MatrixT>& x) {
44template <
typename StdVectorT, require_std_vector_t<StdVectorT>* =
nullptr>
45int64_t
size_mvt(
const std::vector<StdVectorT>& 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 ...