Loading [MathJax]/extensions/TeX/AMSmath.js
Automatic Differentiation
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

◆ positive_ordered_constrain() [1/4]

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

Return an increasing positive 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 elements in the vector
Parameters
xFree vector of scalars.
Returns
Positive, increasing ordered vector.

Definition at line 24 of file positive_ordered_constrain.hpp.