Interface RandomVariableDifferentiableFactory

    • Method Detail

      • createRandomVariable

        RandomVariableDifferentiable createRandomVariable​(double time,
                                                          double value)
        Create a (deterministic) random variable form a constant using a specific filtration time.
        Specified by:
        createRandomVariable in interface RandomVariableFactory
        Parameters:
        time - The filtration time of the random variable.
        value - A constant value.
        Returns:
        The RandomVariableDifferentiable.
      • createRandomVariable

        RandomVariableDifferentiable createRandomVariable​(double time,
                                                          double[] values)
        Create a random variable form an array using a specific filtration time.
        Specified by:
        createRandomVariable in interface RandomVariableFactory
        Parameters:
        time - The filtration time of the random variable.
        values - Array representing values of the random variable at the sample paths.
        Returns:
        The RandomVariableDifferentiable.
      • createRandomVariableNonDifferentiable

        RandomVariable createRandomVariableNonDifferentiable​(double time,
                                                             double value)
        Create a (deterministic) random variable, which is not differentiable, from a constant.
        Parameters:
        value - A constant value.
        time - The filtration time of the random variable.
        Returns:
        The RandomVariable.
      • createRandomVariableNonDifferentiable

        RandomVariable createRandomVariableNonDifferentiable​(double time,
                                                             double[] values)
        Create a random variable, which is not differentiable, from an array using a specific filtration time.
        Parameters:
        time - The filtration time of the random variable.
        values - Array representing values of the random variable at the sample paths.
        Returns:
        The RandomVariable.