int.h
来自「数值积分」· C头文件 代码 · 共 27 行
H
27 行
#ifndef _INTEGRATE_H
#define _INTEGRATE_H
#include <iostream>//for screen and keyboard input and output
#include <fstream>//for disk file input and output
#include <cmath>//for using C math function
using namespace std;
const int n=5;
class Integrate
{
public:
Integrate();//从文件输入数据
void Inte();//计算积分值
private:
int m; //节点个数
double a,b; //区间大小
double Xknot[n][n]; //节点值
double Aknot[n][n]; //系数值
double Function(double);//被积函数
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?