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

◆ lb_free() [2/4]

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

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

The transform is the reverse of the lb_constrain transform.

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

Definition at line 57 of file lb_free.hpp.