Class: NumericFunctions::Square

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

Class Method Summary collapse

Class Method Details

.apply(val) ⇒ Object


72
73
74
# File 'lib/mdarray/ruby_numeric_functions.rb', line 72

def self.apply(val)
  val * val
end