net.finmath.fouriermethod.models
Class BlackScholesModel
- java.lang.Object
-
- net.finmath.fouriermethod.models.BlackScholesModel
-
- All Implemented Interfaces:
- ProcessCharacteristicFunctionInterface
public class BlackScholesModel extends java.lang.Object implements ProcessCharacteristicFunctionInterface
Implements the characteristic function of a Black Scholes model.
-
-
Constructor Summary
Constructors Constructor and Description BlackScholesModel(double initialValue, double riskFreeRate, double volatility)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description CharacteristicFunctionInterfaceapply(double time)Returns the characteristic function of X(t), where X isthisstochastic process.
-
-
-
Constructor Detail
-
BlackScholesModel
public BlackScholesModel(double initialValue, double riskFreeRate, double volatility)
-
-
Method Detail
-
apply
public CharacteristicFunctionInterface apply(double time)
Description copied from interface:ProcessCharacteristicFunctionInterfaceReturns the characteristic function of X(t), where X isthisstochastic process.- Specified by:
applyin interfaceProcessCharacteristicFunctionInterface- Parameters:
time- The time at which the stochastic process is observed.- Returns:
- The characteristic function of X(t).
-
-
DataMelt 3.0 © DataMelt by jWork.ORG