📄 incompletegammafunction.cpp
字号:
//IncompleteGammaFunction.cpp
//不完全伽马函数
#include <iostream> //模板类输入输出流标准头文件
#include <SpecialFunction.h> //数学变换头文件
using namespace std; //名字空间
void main(void)
{
double a[3] = {0.5,5.0,50.0};
double x[3] = {0.1,1.0,10.0};
for(int i=0; i<3; i++)
for(int j=0; j<3; j++)
{
double s = a[i];
double t = x[j];
double y = IncompleteGammaFunction(s, t);
cout << " GammaFunction(" << a[i] << "," << x[j]
<< ")\t = " << y << endl;
}
cout << endl;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -