Class AbstractRandomVariableFactory

    • Constructor Detail

      • AbstractRandomVariableFactory

        public AbstractRandomVariableFactory()
    • Method Detail

      • createRandomVariable

        public abstract RandomVariable createRandomVariable​(double time,
                                                            double value)
        Description copied from interface: RandomVariableFactory
        Create a (deterministic) random variable from 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 RandomVariable.
      • createRandomVariable

        public abstract RandomVariable createRandomVariable​(double time,
                                                            double[] values)
        Description copied from interface: RandomVariableFactory
        Create a random variable from 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 RandomVariable.