📄
字号:
#define max 100
struct poly
{
double coff[max];
int index[max];
};
class newton
{private:
double coefficient(int k,int n);
public:
double newtoncores(double a,double b,double (*f)(double),int n);
double newtoncores(double a,double b,double (*f)(double),int m,int n);
double romberg(double a,double b,double (*f)(double));
};
class gauss
{
private:
rowgauss(double A[max][max],double B[max],int n);
legendre(double A[max],int n);
qiebixuefu(double A[max],int n);
newton(double A[max],double result[max],int n);
double derivate(double A[max],double B[max],double x,int n);
public:
double integral(double a,double b,double (*f)(double),int n);
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -