Module: Math
- Included in:
- CTioga2::Data::Backends::MathBackend, CTioga2::Data::Backends::SMathBackend, 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
-
#abs(x) ⇒ Object
The absolute value, but in a more easy to use way.
Instance Method Details
#abs(x) ⇒ Object
The absolute value, but in a more easy to use way
708 709 710 |
# File 'lib/ctioga2/utils.rb', line 708 def abs(x) return x.abs end |