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

◆ size_mvt() [1/3]

template<typename ScalarT , require_stan_scalar_t< ScalarT > * = nullptr>
int64_t stan::math::size_mvt ( const ScalarT &  )

Provides the size of a multivariate argument.

This is the default template function. For any scalar type, this will throw an std::invalid_argument exception since a scalar is not a multivariate structure.

Template Parameters
Ttype to take size of. The default template function should only match scalars.
Exceptions
std::invalid_argumentsince the type is a scalar.

Definition at line 25 of file size_mvt.hpp.