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

◆ ordered_constrain() [1/5]

template<typename EigVec , require_eigen_col_vector_t< EigVec > * = nullptr, require_not_st_var< EigVec > * = nullptr>
plain_type_t< EigVec > stan::math::ordered_constrain ( const EigVec &  x)
inline

Return an increasing ordered vector derived from the specified free vector.

The returned constrained vector will have the same dimensionality as the specified free vector.

Template Parameters
Ttype of the vector
Parameters
xFree vector of scalars.
Returns
Positive, increasing ordered vector.
Template Parameters
TType of scalar.

Definition at line 26 of file ordered_constrain.hpp.