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

📄 leastsquare.h

📁 本程序是我上课实验报告的源代码
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -