Stan Math Library
4.9.0
Automatic Differentiation
|
|
inline |
Specialization of lb_constrain
to apply a container of lower bounds elementwise to each input element.
If the Jacobian
parameter is true
, the log density accumulator is incremented with the log absolute Jacobian determinant of the transform. All of the transforms are specified with their Jacobians in the Stan Reference Manual chapter Constraint Transforms.
Jacobian | if true , increment log density accumulator with log absolute Jacobian determinant of constraining transform |
T | A type inheriting from Eigen::EigenBase , a var_value with inner type inheriting from Eigen::EigenBase , a standard vector, or a scalar |
L | A type inheriting from Eigen::EigenBase , a var_value with inner type inheriting from Eigen::EigenBase , a standard vector, or a scalar |
[in] | x | unconstrained input |
[in] | lb | lower bound on output |
[in,out] | lp | log density accumulator |
Definition at line 243 of file lb_constrain.hpp.