📄 dlg_3c.h
字号:
#if !defined(AFX_DLG_3C_H__D8F5FD10_465C_4016_9588_C3D5B6BFB2BE__INCLUDED_)
#define AFX_DLG_3C_H__D8F5FD10_465C_4016_9588_C3D5B6BFB2BE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DLG_3C.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// DLG_3C dialog
class DLG_3C : public CDialog
{
// Construction
public:
CString s[6];
CString str[3][6];
char ch1[6][4],ch2[6][4],ch3[6][4],ch4[6][4],ch5[6][4],ch6[6][4];
float A1[2],A2[2],A3[2],B1[1],B2[1],B3[2],XtW1[2],XtW3[2],XtW2[2];//相关的临时数组
float W1[4],W2[4],W3[4],w1[2],w2[2],w3[2],w1o[1],w2o[1],w3o[1];//相关的临时数组
float X[2];//待定样本
float Average_X1[2],Average_X2[2],Average_X3[2];//均值
float E1[4],E2[4],E3[4],E[4];//协方差矩阵
float P1,P2,P3,Ln_P;//后验概率
float abs_E1,abs_E2,abs_E3;//协方差矩阵的模
boolean have_check;//判别协方差是否相等
float a[3][6];
void Inv(float *a,int n);//矩阵求逆
DLG_3C(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(DLG_3C)
enum { IDD = IDD_DIALOG_3C };
CButton m_CtrRadio1;
CButton m_CtrRadio2;
CString Result_Class;
float x1;
float x2;
float w1_x11;
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;
float w3_x11;
float w3_x12;
float w3_x13;
float w3_x21;
float w3_x22;
float w3_x23;
float g_x1;
float g_x2;
float g_x3;
CString Gx1;
CString Gx2;
CString Gx3;
int m_Radio1;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(DLG_3C)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(DLG_3C)
afx_msg void OnRadioIs();
afx_msg void OnRadioNot();
afx_msg void OnButtonBegin();
afx_msg void OnButton3cResult();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLG_3C_H__D8F5FD10_465C_4016_9588_C3D5B6BFB2BE__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -