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

◆ ordered_constrain() [4/5]

template<typename T , require_rev_col_vector_t< T > * = nullptr>
auto stan::math::ordered_constrain ( const T &  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.

Parameters
xFree vector of scalars
Returns
Increasing ordered vector

Definition at line 25 of file ordered_constrain.hpp.