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

◆ ordered_free() [1/2]

template<typename EigVec , require_eigen_col_vector_t< EigVec > * = nullptr>
plain_type_t< EigVec > stan::math::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 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 ordered_free.hpp.