Class: RubyMath::Hypot

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

Class Method Summary collapse

Class Method Details

.apply(val) ⇒ Object



94
95
96
# File 'lib/mdarray/ruby_math.rb', line 94

def self.apply(val)
  Math.hypot(val)
end