Specialization of lb_constrain
to apply a scalar lower bound elementwise to each input.
- Template Parameters
-
T | A type inheriting from EigenBase . |
L | Scalar. |
- 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 or a var_value with inner type inheriting from EigenBase . |
L | Scalar. |
- 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 100 of file lb_constrain.hpp.