?? my_realisation.~h
字號:
//---------------------------------------------------------------------------
#include <vcl.h>
#include <Grids.hpp>
//---------------------------------------------------------------------------
#include "Simplex.h"
//---------------------------------------------------------------------------
#pragma hdrstop
//---------------------------------------------------------------------------
class Rational
{
public:
Rational ();
Rational (long int x, long int y);
Rational inv ();
friend Rational operator - (Rational a, Rational b);
friend Rational operator + (Rational a, Rational b);
friend Rational operator * (Rational a, Rational b);
friend Rational operator / (Rational a, Rational b);
bool operator > (Rational b);
bool operator < (Rational b);
bool operator <= (long int b);
bool operator == (Rational b);
bool operator == (long int b);
bool operator != (Rational b);
bool operator != (long int b);
Rational operator = (Rational R);
void Print(int i, int j);
private:
long int NOD (long int x, long int y);
void Abbr ();
private:
long int p, q;
int sign;
};
//---------------------------------------------------------------------------
class RazrElement {
public:
RazrElement ();
Rational Element;
int xPosition;
int yPosition;
};
//---------------------------------------------------------------------------
class SimReal {
public:
SimReal ();
void GetValues (int x, int y);
void FindBasis ();
void GetSigma ();
bool CheckSigmaIDX (int IDX);
void Conversion();
void ZFValue();
void Print();
private:
Rational **Field_1;
Rational **Field_2;
Rational *Z_Function;
Rational *Sigma;
Rational *Basis;
Rational ZFV;
private:
int SRx,SRy;
RazrElement RE;
};
//---------------------------------------------------------------------------
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -