Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ lb_free() [3/4]

template<typename T , typename L , require_not_std_vector_t< L > * = nullptr>
auto stan::math::lb_free ( const std::vector< T >  y,
const L &  lb 
)
inline

Return the free variable that corresponds to the specified lower-bounded variable with respect to the specified lower bound.

The transform is the reverse of the lb_constrain transform.

Template Parameters
Ttype of constrained variable
Ltype of lower bound
Parameters
yconstrained variable with specified lower bound
lblower bound
Returns
unconstrained variable with respect to lower bound
Exceptions
std::invalid_argumentif any element of constrained variable is greater than the lower bound.

Definition at line 84 of file lb_free.hpp.