Class DoublesVectorFunctionProvider
- java.lang.Object
-
- com.opengamma.strata.math.impl.function.DoublesVectorFunctionProvider
-
- All Implemented Interfaces:
VectorFunctionProvider<Double>
- Direct Known Subclasses:
ParameterizedCurveVectorFunctionProvider
public abstract class DoublesVectorFunctionProvider extends Object implements VectorFunctionProvider<Double>
An abstraction for anything that provides aVectorFunctionfor a set of data points (as Double).
-
-
Constructor Summary
Constructors Constructor Description DoublesVectorFunctionProvider()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract VectorFunctionfrom(double[] x)Produces a vector function that depends in some way on the given data points.VectorFunctionfrom(Double[] x)Produces a vector function that maps from some 'model' parameters to values at the sample points.VectorFunctionfrom(List<Double> x)Produces a vector function that maps from some 'model' parameters to values at the sample points.
-
-
-
Method Detail
-
from
public VectorFunction from(List<Double> x)
Description copied from interface:VectorFunctionProviderProduces a vector function that maps from some 'model' parameters to values at the sample points.- Specified by:
fromin interfaceVectorFunctionProvider<Double>- Parameters:
x- the list of sample points- Returns:
- a
VectorFunction
-
from
public VectorFunction from(Double[] x)
Description copied from interface:VectorFunctionProviderProduces a vector function that maps from some 'model' parameters to values at the sample points.- Specified by:
fromin interfaceVectorFunctionProvider<Double>- Parameters:
x- the array of sample points- Returns:
- a
VectorFunction
-
from
public abstract VectorFunction from(double[] x)
Produces a vector function that depends in some way on the given data points.- Parameters:
x- the array of data points- Returns:
- a
VectorFunction
-
-