Class: RubyMath::Neg

Inherits:
Object
  • Object
show all
Defined in:
lib/mdarray/ruby_math.rb

Class Method Summary collapse

Class Method Details

.apply(val) ⇒ Object


154
155
156
# File 'lib/mdarray/ruby_math.rb', line 154

def self.apply(val)
  -1 * val
end