# File nmatrix.rb, line 23 def -(other) case other when NMatrix return super(NArray.refer(other)) when NArray unless other.instance_of?(NArray) return other.coerce_rev( self, :- ) end end raise TypeError,"Illegal operation: NMatrix - %s" % other.class end