Method: Mgmg::TPolynomial#-
- Defined in:
- lib/mgmg/poly.rb
#-(other) ⇒ Object
147 148 149 150 151 |
# File 'lib/mgmg/poly.rb', line 147 def -(other) other = self.coerce(other)[0] unless other.kind_of?(self.class) mat = @mat.padd(other.mat.scalar(-1)) self.class.new(mat, 28, 0, 12, 12) end |