Automatic Differentiation
 
Loading...
Searching...
No Matches
check_positive_ordered.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  stan
 The lgamma implementation in stan-math is based on either the reentrant safe lgamma_r implementation from C or the boost::math::lgamma implementation.
 
namespace  stan::math
 Matrices and templated mathematical functions.
 

Functions

template<typename Vec , require_vector_t< Vec > * = nullptr, require_not_std_vector_t< Vec > * = nullptr>
void stan::math::check_positive_ordered (const char *function, const char *name, const Vec &y)
 Throw an exception if the specified the vector contains negative values or is not sorted into strictly increasing order.
 
template<typename StdVec , require_std_vector_t< StdVec > * = nullptr>
void stan::math::check_positive_ordered (const char *function, const char *name, const StdVec &y)
 Throw an exception if any of the vectors in a standard vector contains negative values or is not sorted into strictly increasing order.