Module net.finmath.lib
Class RegressionBasisFunctionsFromProducts
java.lang.Object
net.finmath.montecarlo.conditionalexpectation.RegressionBasisFunctionsFromProducts
- All Implemented Interfaces:
RegressionBasisFunctionsProvider
public class RegressionBasisFunctionsFromProducts
extends Object
implements RegressionBasisFunctionsProvider
An implementation of an RegressionBasisFunctionsProvider using a list of AbstractMonteCarloProduct-s.
The getBasisFunctions method will perform a check if the products getValue method returns an
\( \mathcal{F}_{t} \)-measurable random variable if called with evaluationTime being \( t \).
If this test fails an IllegalArgumentException exception is thrown.
- Version:
- 1.0
- Author:
- Christian Fries
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptiongetBasisFunctions(double evaluationTime, MonteCarloSimulationModel model)
Provides a set of \( \mathcal{F}_{t} \)-measurable random variables which can serve as regression basis functions.
-
Constructor Details
-
RegressionBasisFunctionsFromProducts
-
-
Method Details
-
getBasisFunctions
Description copied from interface:RegressionBasisFunctionsProvider
Provides a set of \( \mathcal{F}_{t} \)-measurable random variables which can serve as regression basis functions.- Specified by:
getBasisFunctions
in interfaceRegressionBasisFunctionsProvider
- Parameters:
evaluationTime
- The evaluation time \( t \) at which the basis function should be observed.model
- The Monte-Carlo model used to derive the basis function.- Returns:
- An \( \mathcal{F}_{t} \)-measurable random variable.
-