Interface MultivariateFunctionMappingAdapter.Mapper
- All Known Implementing Classes:
MultivariateFunctionMappingAdapter.LowerBoundMapper
,MultivariateFunctionMappingAdapter.LowerUpperBoundMapper
,MultivariateFunctionMappingAdapter.NoBoundsMapper
,MultivariateFunctionMappingAdapter.UpperBoundMapper
- Enclosing class:
MultivariateFunctionMappingAdapter
private static interface MultivariateFunctionMappingAdapter.Mapper
Mapping interface.
-
Method Summary
Modifier and TypeMethodDescriptiondouble
boundedToUnbounded
(double x) Map a value from bounded to unbounded.double
unboundedToBounded
(double y) Map a value from unbounded to bounded.
-
Method Details
-
unboundedToBounded
double unboundedToBounded(double y) Map a value from unbounded to bounded.- Parameters:
y
- unbounded value- Returns:
- bounded value
-
boundedToUnbounded
double boundedToUnbounded(double x) Map a value from bounded to unbounded.- Parameters:
x
- bounded value- Returns:
- unbounded value
-