Method: Mgmg::TPolynomial#>

Defined in:
lib/mgmg/poly.rb

#>(other) ⇒ Object



242
243
244
245
246
247
248
249
250
251
252
253
254
255
# File 'lib/mgmg/poly.rb', line 242

def >(other)
	foo = other-self
	(foo.mat.row_size-1).downto(0) do |s|
		(foo.mat.col_size-1).downto(0) do |c|
			bar = foo.mat.body[s][c]
			if bar < 0
				return true
			elsif 0 < bar
				return false
			end
		end
	end
	false
end