1 #ifndef STAN_MATH_PRIM_SCAL_ERR_IS_POSITIVE_HPP 2 #define STAN_MATH_PRIM_SCAL_ERR_IS_POSITIVE_HPP 17 template <
typename T_y>
size_t length(const std::vector< T > &x)
Returns the length of the provided std::vector.
bool is_positive(const T_y &y)
Return true if y is positive.
T get(const std::vector< T > &x, size_t n)
Returns the n-th element of the provided std::vector.
int size(const std::vector< T > &x)
Return the size of the specified standard vector.