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.
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptiondoubleboundedToUnbounded(double x) Maps a value from bounded to unbounded.doubleunboundedToBounded(double y) Maps a value from unbounded to bounded.
-
Method Details
-
unboundedToBounded
double unboundedToBounded(double y) Maps a value from unbounded to bounded.- Parameters:
y- Unbounded value.- Returns:
- the bounded value.
-
boundedToUnbounded
double boundedToUnbounded(double x) Maps a value from bounded to unbounded.- Parameters:
x- Bounded value.- Returns:
- the unbounded value.
-