📄 least_squaredlg.h
字号:
// least_squareDlg.h : header file
//
#if !defined(AFX_LEAST_SQUAREDLG_H__E357EF0D_6AFF_47C1_8E41_17E4E7F3C4C3__INCLUDED_)
#define AFX_LEAST_SQUAREDLG_H__E357EF0D_6AFF_47C1_8E41_17E4E7F3C4C3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CLeast_squareDlg dialog
class CLeast_squareDlg : public CDialog
{
// Construction
public:
float power(int i,float v);
float* ColPivot(float* a,int n);
float* Approx(float* x,float* y,int m,int n);
CLeast_squareDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CLeast_squareDlg)
enum { IDD = IDD_LEAST_SQUARE_DIALOG };
int m_pointnumber;
int m_jieshu;
float m_x1;
float m_y1;
float m_x2;
float m_y2;
float m_x3;
float m_y3;
float m_x4;
float m_y4;
float m_x5;
float m_y5;
float m_x6;
float m_y6;
float m_x7;
float m_y7;
float m_x8;
float m_y8;
float m_x9;
float m_y9;
float m_x10;
float m_y10;
float m_x11;
float m_y11;
float m_x12;
float m_y12;
float m_x13;
float m_y13;
float m_x14;
float m_y14;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLeast_squareDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CLeast_squareDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void Onjisuan();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LEAST_SQUAREDLG_H__E357EF0D_6AFF_47C1_8E41_17E4E7F3C4C3__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -