Class: NumericFunctions::Power

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

Class Method Summary collapse

Class Method Details

.apply(val1, val2) ⇒ Object


36
37
38
# File 'lib/mdarray/ruby_numeric_functions.rb', line 36

def self.apply(val1, val2)
  val1 ** val2
end