leastsquare.h

来自「本程序是我上课实验报告的源代码」· C头文件 代码 · 共 29 行

H
29
字号
#ifndef _LEASTSQUARE_H
#define _LEASTSQUARE_H

#include <iostream> 
#include <fstream>  
#include <cmath>  
using namespace std;

const int n=20;
const int m=20;
         
class LeastSquare
{
 public:  
           LeastSquare();
		   int SavetoFile();
	       int Function();

		       
 private:  
           int    i,j,k,n,m,N;
           double B[20][20];//用来存放正则矩阵B
           double g[20];
           double A[20][20];
           double b[20];//开始输入的右端项
};
           
#endif

⌨️ 快捷键说明

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