Interface RandomVariableFactory

    • Method Detail

      • createRandomVariable

        RandomVariable createRandomVariable​(double value)
        Create a (deterministic) random variable from a constant.
        Parameters:
        value - A constant value.
        Returns:
        The RandomVariable.
      • createRandomVariable

        RandomVariable createRandomVariable​(double time,
                                            double value)
        Create a (deterministic) random variable from a constant using a specific filtration time.
        Parameters:
        time - The filtration time of the random variable.
        value - A constant value.
        Returns:
        The RandomVariable.
      • createRandomVariable

        RandomVariable createRandomVariable​(double time,
                                            double[] values)
        Create a random variable 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.
      • createRandomVariableArray

        RandomVariable[] createRandomVariableArray​(double[] values)
        Create an array of (deterministic) random variables from an array of constants.
        Parameters:
        values - Array representing constants.
        Returns:
        The RandomVariable.
      • createRandomVariableMatrix

        RandomVariable[][] createRandomVariableMatrix​(double[][] values)
        Create a matrix of (deterministic) random variables from an matrix of constants.
        Parameters:
        values - Matrix representing constants.
        Returns:
        The RandomVariable.