📄 alculate.h
字号:
// alculate.h: interface for the Calculate class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_ALCULATE_H__5A281601_83E9_49F5_A67F_BF291DACCF72__INCLUDED_)
#define AFX_ALCULATE_H__5A281601_83E9_49F5_A67F_BF291DACCF72__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Matrix.h"
class Calculate : public CObject
{
public:
Calculate();
virtual ~Calculate();
//基函数系
double basefunction(double x,int power);
void computing();
public:
double errosquare;//待求误差
CMatrix Y,X;//节点数据
CMatrix A;//系数矩阵
CMatrix a;//待求矩阵未知向量
private:
int cdegree,cnodenum;//次数及节点数
public:
void SetDegree(int i);//设定节点数及次数
void SetNodenum(int i);
void SetXY(int i);//设定x,y的行列数
};
#endif // !defined(AFX_ALCULATE_H__5A281601_83E9_49F5_A67F_BF291DACCF72__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -