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

◆ positive_ordered_free() [1/2]

template<typename EigVec , require_eigen_col_vector_t< EigVec > * = nullptr>
auto stan::math::positive_ordered_free ( const EigVec &  y)

Return the vector of unconstrained scalars that transform to the specified positive ordered vector.

This function inverts the constraining operation defined in positive_ordered_constrain(Matrix),

Template Parameters
Ttype of elements in the vector
Parameters
yVector of positive, ordered scalars.
Returns
Free vector that transforms into the input vector.
Exceptions
std::domain_errorif y is not a vector of positive, ordered scalars.

Definition at line 28 of file positive_ordered_free.hpp.