public class BlackScholes
Modifier and Type | Field and Description |
---|---|
Double |
initialPrice |
Double |
maturityTime |
Random |
random |
Double |
riskFreeRate |
Double |
strikePrice |
Double |
volatility |
Constructor and Description |
---|
BlackScholes(Random random,
Double initialPrice,
Double strikePrice,
Double riskFreeRate,
Double volatility,
Double maturityTime) |
Modifier and Type | Method and Description |
---|---|
Double |
compute(Long nsamples,
Long nsteps) |
static void |
main(Rail<String> id$5) |
public Random random
public Double initialPrice
public Double strikePrice
public Double riskFreeRate
public Double volatility
public Double maturityTime