📄 gaussj.h
字号:
#pragma GaussJ
/*NOT TESTED YET*/
const unsigned int
MAX = 100, /* Maximum number of data points in array */
MAxNoTerms = 15; /* Max number of terms in fitted polynomial expression */
typedef struct {
double coeff[MAxNoTerms+1];
/* coefficients for fitted polynomial expression */
int noTerms; /* actual number of terms used in array */
int listA[MAxNoTerms+1];
/* array to keep order and track of terms to be fitted */
int minFit; /* minimum number of terms to fit */
/* also number of terms of listA actually used */
double covarMatrix[MAX+1][MAxNoTerms+1];
/* max size of covariance matrix from function fitting */
int subI, subJ;
/* ordinates for actual size of covariance matrix */
double chi2; /* chi-square */
} PolyReturn;
typedef double PolyArray[MAxNoTerms+1];
void GaussJordan(PolyReturn &returnRec,
PolyArray &betaFunc,
int m, int mp);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -