![]() |
Stan Math Library
2.20.0
reverse mode automatic differentiation
|
#include <positive_ordered_constrain.hpp>
Public Member Functions | |
template<std::size_t size> | |
Eigen::VectorXd | operator() (const std::array< bool, size > &needs_adj, const Eigen::VectorXd &x) |
Return an increasing positive ordered vector derived from the specified free vector. More... | |
template<std::size_t size> | |
auto | multiply_adjoint_jacobian (const std::array< bool, size > &needs_adj, const Eigen::VectorXd &adj) const |
Definition at line 14 of file positive_ordered_constrain.hpp.
|
inline |
Definition at line 61 of file positive_ordered_constrain.hpp.
|
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.
size | Number of arguments |
needs_adj | Boolean indicators of if adjoints of arguments will be needed |
x | Free vector of scalars |
Definition at line 31 of file positive_ordered_constrain.hpp.