- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Definition of a function that maps a Double to a RandomVariable, with the possibility
to throw an Exception.
- Author:
- Christian Fries
-
Method Summary
Modifier and TypeMethodDescriptionnet.finmath.stochastic.RandomVariable
apply(double value)
Applies this function to the given argument.
-
Method Details
-
apply
Applies this function to the given argument.- Parameters:
value
- the function argument- Returns:
- the function result
- Throws:
Exception
- Thrown if function evaluation fails
-