Stan Math Library  2.20.0
reverse mode automatic differentiation
Public Member Functions | List of all members
stan::math::internal::positive_ordered_constrain_op Class Reference

#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
 

Detailed Description

Definition at line 14 of file positive_ordered_constrain.hpp.

Member Function Documentation

◆ multiply_adjoint_jacobian()

template<std::size_t size>
auto stan::math::internal::positive_ordered_constrain_op::multiply_adjoint_jacobian ( const std::array< bool, size > &  needs_adj,
const Eigen::VectorXd &  adj 
) const
inline

Definition at line 61 of file positive_ordered_constrain.hpp.

◆ operator()()

template<std::size_t size>
Eigen::VectorXd stan::math::internal::positive_ordered_constrain_op::operator() ( const std::array< bool, size > &  needs_adj,
const Eigen::VectorXd &  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
sizeNumber of arguments
Parameters
needs_adjBoolean indicators of if adjoints of arguments will be needed
xFree vector of scalars
Returns
Positive, increasing ordered vector

Definition at line 31 of file positive_ordered_constrain.hpp.


The documentation for this class was generated from the following file:

     [ Stan Home Page ] © 2011–2018, Stan Development Team.