?? specialfunction.h
字號:
//SpecialFunction.h 特殊函數(shù)頭文件
// Ver 1.0.0.0
// 版權(quán)所有(C) 何渝, 2002
// 最后修改: 2002.5.31.
#ifndef _SPECIALFUNCTION_H //避免多次編譯
#define _SPECIALFUNCTION_H
#include <iostream> //模板類輸入輸出流標(biāo)準(zhǔn)頭文件
#include <comm.h> //公共頭文件
using namespace std; //名字空間
//伽馬函數(shù)
template <class _Ty>
_Ty GammaFunction(_Ty x);
//不完全伽馬函數(shù)
template <class _Ty>
_Ty IncompleteGammaFunction(_Ty a, _Ty x);
//誤差函數(shù)
template <class _Ty>
_Ty ErrorFunction(_Ty x);
//第一類整數(shù)階貝塞爾函數(shù)
template <class _Ty>
_Ty IntegerBessel1stFunction(int n, _Ty x);
//第二類整數(shù)階貝塞爾函數(shù)
template <class _Ty>
_Ty IntegerBessel2ndFunction(int n, _Ty x);
//變形第一類整數(shù)階貝塞爾函數(shù)
template <class _Ty>
_Ty TransformativeIntegerBessel1stFunction(int n,_Ty x);
//變形第二類整數(shù)階貝塞爾函數(shù)
template <class _Ty>
_Ty TransformativeIntegerBessel2ndFunction(int n, _Ty x);
//不完全貝塔函數(shù)
template <class _Ty>
_Ty IncompleteBetaFunction(_Ty a, _Ty b, _Ty x);
//正態(tài)分布函數(shù)
template <class _Ty>
_Ty NormalDistributionFunction(_Ty a, _Ty d, _Ty x);
//t-分布函數(shù)
template <class _Ty>
_Ty tDistributionFunction(_Ty t, int n);
//X^2-分布函數(shù)
template <class _Ty>
_Ty X2DistributionFunction(_Ty x, int n);
//F-分布函數(shù)
template <class _Ty>
_Ty FDistributionFunction(_Ty f, int n1, int n2);
//正弦積分
template <class _Ty>
_Ty SineIntegralFunction(_Ty x);
//余弦積分
template <class _Ty>
_Ty CosineIntegralFunction(_Ty x);
//指數(shù)積分
template <class _Ty>
_Ty ExponentIntegralFunction(_Ty x);
//第一類橢圓積分
template <class _Ty>
_Ty Ellipse1stIntegral(_Ty k, _Ty f);
//第二類橢圓積分
template <class _Ty>
_Ty Ellipse2ndIntegral(_Ty k, _Ty f);
#include "SpecialFunction.inl" //類及相關(guān)函數(shù)的定義頭文件
#endif // _SPECIALFUNCTION_H
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -