Return the free matrix that corresponds to the specified upper-bounded matrix with respect to the specified upper bound.
The transform is the reverse of the ub_constrain
transform.
- Template Parameters
-
T | type of matrix |
U | type of upper bound |
- Parameters
-
y | constrained matrix with specified upper bound |
ub | upper bound |
- Returns
- unconstrained matrix with respect to upper bound
- Exceptions
-
std::invalid_argument | if any element of constrained variable is greater than the upper bound. |
Definition at line 63 of file ub_free.hpp.