Module: Math

Included in:
CTioga2::Data::Backends::MathBackend, CTioga2::Ruby::MetaModule
Defined in:
lib/ctioga2/utils.rb

Overview

Now come a few functions that add to ruby’s standard classes or modules

Instance Method Summary collapse

Instance Method Details

#abs(x) ⇒ Object

The absolute value, but in a more easy to use way



517
518
519
# File 'lib/ctioga2/utils.rb', line 517

def abs(x)
  return x.abs
end