Class: Matrix

Inherits:
Object show all
Defined in:
lib/langhelp/langhelp-sub.rb

Instance Method Summary collapse

Instance Method Details

#nonzeroObject

If self is negative, returns 0



106
107
108
# File 'lib/langhelp/langhelp-sub.rb', line 106

def nonzero
  map{|x| x.nonzero}
end