Class: NumericFunctions::Abs

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

Class Method Summary collapse

Class Method Details

.apply(val) ⇒ Object


42
43
44
# File 'lib/mdarray/ruby_numeric_functions.rb', line 42

def self.apply(val)
  val.abs
end