com.opengamma.strata.math.impl.function.VectorFunctionProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of strata-math Show documentation
Show all versions of strata-math Show documentation
Mathematic support for Strata
/*
* Copyright (C) 2014 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.math.impl.function;
import java.util.List;
/**
* Interface for anything the provides a vector function which depends on some extraneous data.
*
* @param the type of extraneous data
* @see VectorFunction
*/
public interface VectorFunctionProvider {
/**
* Produces a vector function that maps from some 'model' parameters to values at the sample points.
*
* @param samplePoints the list of sample points
* @return a {@link VectorFunction}
*/
public abstract VectorFunction from(List samplePoints);
/**
* Produces a vector function that maps from some 'model' parameters to values at the sample points.
*
* @param samplePoints the array of sample points
* @return a {@link VectorFunction}
*/
public abstract VectorFunction from(T[] samplePoints);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy