📄 dlg_2c.h
字号:
#if !defined(AFX_DLG_2C_H__5CC57309_8A36_4B07_B253_D827BAAD36FB__INCLUDED_)
#define AFX_DLG_2C_H__5CC57309_8A36_4B07_B253_D827BAAD36FB__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DLG_2C.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// DLG_2C dialog
class DLG_2C : public CDialog
{
// Construction
public:
CString a[6];//系数
CString s1[6];//
char ch[6][4];//存储系数
float X2_X1[2];
float a1[6],a2[6];//系数
float X[2];//待定样本
float Average_X1[2],Average_X2[2];//均值
float E1[4],E2[4],E[4];//协方差矩阵
float P1,P2,Ln_P;//后验概率
float abs_E1,abs_E2,Ln_E;//协方差矩阵的模
boolean have_check;//判别协方差是否相等
void Inv(float *a,int n);//矩阵求逆
DLG_2C(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(DLG_2C)
enum { IDD = IDD_DIALOG_2C };
CButton m_CtrRadio1;
CButton m_CtrRadio2;
double g_x;
CString Result_Class;
CString Result_Gx;
float x1;
float x2;
float w1_x12;
float w1_x13;
float w1_x21;
float w1_x22;
float w1_x23;
float w2_x11;
float w2_x12;
float w2_x13;
float w2_x21;
float w2_x22;
float w2_x23;
int m_Radio1;
float w1_x11;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(DLG_2C)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(DLG_2C)
afx_msg void OnRadioIs();
afx_msg void OnRadioNot();
afx_msg void OnButtonBegin();
afx_msg void OnButtonResult();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLG_2C_H__5CC57309_8A36_4B07_B253_D827BAAD36FB__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -