⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 realisation.~h

📁 The realization of Simplex Method. It can be very useful for students. But there is only one problem
💻 ~H
字号:
//---------------------------------------------------------------------------
#include <fstream.h>
#include <vcl.h>
#include <Grids.hpp>
//---------------------------------------------------------------------------

#include "Simplex.h"
//---------------------------------------------------------------------------

#pragma hdrstop
//---------------------------------------------------------------------------

class Rational
{
 public:
	Rational ();
	Rational (int x, int y) :  p(x), q(y) { Abbr(); };
	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);
 private:
	int NOD (int x, int y);
	void Abbr ();
 private:
	int p, q;
	int sign;
};
//---------------------------------------------------------------------------

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -