📄 fitpro.h
字号:
#if !defined(AFX_FITPRO_H__CE795780_EFDC_11D5_B4BF_0000F806F5C9__INCLUDED_)
#define AFX_FITPRO_H__CE795780_EFDC_11D5_B4BF_0000F806F5C9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FitPro.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CFitPro dialog
#include "express.h"
class CFitPro : public CDialog
{
// Construction
public:
CFitPro(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CFitPro)
enum { IDD = IDD_FIT };
CListBox m_paralist;
UINT m_stepno;
double m_pvalue;
BOOL m_errcheck;
BOOL m_diffcheck;
double m_diffe;
double m_erre;
BOOL m_loopcheck;
UINT m_loope;
double m_aveerr;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CFitPro)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
public:
CExpression *m_pexp;
int varnum, parnum, datanum;
CString *VarNames;
CString *ParNames;
CString *ExpVName;
double *ExpVValue;
double *ParValues;
double **VarValues;
double *Par,*OldPar,Pai,OldPai,*dPar,*DPar,*DPai,*DDPai,*NegPai,*PosPai;
int LoopFlag;
public:
double Factor(double* pars, double* dpars, int num,double fact);
double FuncValue(CExpression *pexp,CString *names,double *values, int count);
double PaiValue(double* pars);
void Iteration();
int CGause(double *a, double *b, int n, double *x);
double Range(double *A, int n);
protected:
// Generated message map functions
//{{AFX_MSG(CFitPro)
afx_msg void OnStart();
afx_msg void OnStop();
afx_msg void OnPause();
afx_msg void OnSave();
virtual BOOL OnInitDialog();
afx_msg void OnSelchangePara();
afx_msg void OnKillfocusPvalue();
afx_msg void OnError();
afx_msg void OnApply();
afx_msg void OnDiff();
afx_msg void OnContinue();
afx_msg void OnNloop();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_FITPRO_H__CE795780_EFDC_11D5_B4BF_0000F806F5C9__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -