Interface DoubleToRandomVariableFunction

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface DoubleToRandomVariableFunction
    Definition of a function that maps a Double to a RandomVariable, with the possibility to throw an Exception.
    Christian Fries
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      net.finmath.stochastic.RandomVariable apply​(double value)
      Applies this function to the given argument.
    • Method Detail

      • apply

        net.finmath.stochastic.RandomVariable apply​(double value)
                                             throws Exception
        Applies this function to the given argument.
        value - the function argument
        the function result
        Exception - Thrown if function evaluation fails