public class RealVectorSubFunction extends SubFunction<Vector> implements RealVectorFunction
RealVectorFunction from another RealVectorFunction by
restricting/fixing the values of a subset of variables.Function.EvaluationExceptionf, fixing| Constructor and Description |
|---|
RealVectorSubFunction(RealVectorFunction f,
Map<Integer,Double> fixing)
Construct a vector-valued sub-function.
|
| Modifier and Type | Method and Description |
|---|---|
Vector |
evaluate(Vector x)
Evaluate the function f at x, where x is from the domain.
|
dimensionOfDomain, dimensionOfRange, getAllParts, getVariablePart, isFixedIndex, isFixedIndexclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdimensionOfDomain, dimensionOfRangepublic RealVectorSubFunction(RealVectorFunction f, Map<Integer,Double> fixing)
f - the unrestricted/original functionfixing - the values held fixed for a subset of variablesCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.