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

📄 normdist.cc

📁 Financial Recipes
💻 CC
字号:
#include <cmath>     // c library of math functionsusing namespace std; // which is part of the standard namespace// most C compilers define PI, but just in case it doesn't #ifndef PI #define PI 3.141592653589793238462643#endifdouble n(double z) {  // normal distribution function        return (1.0/sqrt(2.0*PI))*exp(-0.5*z*z);};

⌨️ 快捷键说明

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