#include <stochastic_process.h>
Public Member Functions | |
VanillaOption (double strike, double time, double r, double *So, double *sigma) | |
double | call_MC (int num_samples) |
double | call_BS () |
double | call () |
VanillaOption::VanillaOption | ( | double | strike, | |
double | time, | |||
double | r, | |||
double * | So, | |||
double * | sigma | |||
) |
double VanillaOption::call_MC | ( | int | num_samples | ) |
double VanillaOption::call_BS | ( | ) |
double VanillaOption::call | ( | ) | [inline, virtual] |
Reimplemented from Option.