Return the lower-bounded value for the specified unconstrained input and specified lower bound, incrementing the specified reference with the log absolute Jacobian determinant of the transform.
Specialization of lb_constrain
to apply a matrix of lower bounds elementwise to each input element.
- Template Parameters
-
T | Scalar. |
L | Scalar. |
Lp | scalar, T and L should be convertible to this. |
- Parameters
-
[in] | x | unconstrained input |
[in] | lb | lower bound on output |
[in,out] | lp | reference to log probability to increment |
- Returns
- lower-bound constrained value corresponding to inputs
- Template Parameters
-
T | A type inheriting from EigenBase . |
L | A type inheriting from EigenBase . |
Lp | Scalar, the scalar type of T and L should be convertible to this. |
- Parameters
-
[in] | x | unconstrained input |
[in] | lb | lower bound on output |
[in,out] | lp | reference to log probability to increment |
- Returns
- lower-bound constrained value corresponding to inputs
Definition at line 63 of file lb_constrain.hpp.