⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tst_approximate.cc

📁 Financial Recipes
💻 CC
字号:
// tst_approximate.cc void tst_quadratic_approximation(){    cout << " testing quadratic approximation " << endl;    double X = 100;    double r = 0.08;    double sigma = 0.20;    double time = 0.25;    double b = -0.04;    double S=100;    cout << " call "	 << option_price_american_call_approximated_baw(S,X,r,b,sigma,time)	 << endl;    cout << " put " 	 << option_price_american_put_approximated_baw(S,X,r,b,sigma,time)	 << endl;    cout << "done test of approximation " << endl;}; void tst_geske_johnson(){    cout << "TESTING geske johnson american put approximation " << endl;    cout << " not done " << endl;    cout << "DONE TESTING geske johnson american put approximation " << endl;};void test_approximate(){    tst_quadratic_approximation();}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -