Method: Mgmg::TPolynomial#+
- Defined in:
- lib/mgmg/poly.rb
#+(other) ⇒ Object
142 143 144 145 146 |
# File 'lib/mgmg/poly.rb', line 142 def +(other) other = self.coerce(other)[0] unless other.kind_of?(self.class) mat = @mat.padd(other.mat) self.class.new(mat, 28, 0, 12, 12) end |