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 Details

  • Method Details

    • getBasisFunctions

      public RandomVariable[] getBasisFunctions(double evaluationTime, MonteCarloSimulationModel model)
      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 interface RegressionBasisFunctionsProvider
      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.