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

📄 alimath.h

📁 信息隐藏中用于数字隐写的常用算法:LSB替换LSB匹配,包括随机的和排序的,以及对文件和文件夹进行操作,用CxImage类能快速读取各种格式的图象
💻 H
字号:
#ifndef ALIMATH_H
#define ALIMATH_H

#define Float_t  double
#define Int_t    int
#define Double_t double
// AliMath M;
// Float_t chi2=20  ;          // The chi-squared value
// Int_t ndf=12;               // The number of degrees of freedom
// Float_t p=M.Prob(chi2,ndf); // The probability that at least a Chi-squared
//                             // value of chi2 will be observed, even for a
//                             // correct model


Float_t Gamma(Float_t z);             // Standard gamma function Gamma(z)
Float_t Gamma(Float_t a,Float_t x);   // Incomplete gamma function P(a,x)
Float_t LnGamma(Float_t z);           // Compute ln[Gamma(z)]
Float_t Erf(Float_t x);               // Error function erf(x)
Float_t Erfc(Float_t x);              // Complementary error function erfc(x)
Float_t ChiProb(Float_t chi2,Int_t ndf); // Compute Chi-squared probability

Float_t GamSer(Float_t a,Float_t x);  // Compute P(a,x) via serial representation
Float_t GamCf(Float_t a,Float_t x);   // Compute P(a,x) via continued fractions

#endif

⌨️ 快捷键说明

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