Class: RubyMath::Tanh

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

Class Method Summary collapse

Class Method Details

.apply(val) ⇒ Object



148
149
150
# File 'lib/mdarray/ruby_math.rb', line 148

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