?? incompletegammafunction.cpp
字號(hào):
//IncompleteGammaFunction.cpp
//不完全伽馬函數(shù)
#include <iostream> //模板類輸入輸出流標(biāo)準(zhǔn)頭文件
#include <SpecialFunction.h> //數(shù)學(xué)變換頭文件
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;
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -