In Files

Methods

Files

MathViz::NumericOperations

Namespaced extensions

Public Instance Methods

finite?() click to toggle source

Dummy defintion for all numerics. Normally only defined on things where it can possible return false.

# File lib/mathviz.rb, line 298
def finite?
  true
end
max(b) click to toggle source

Provide in operator form

# File lib/mathviz.rb, line 288
def max(b)
  [self, b].max
end
min(b) click to toggle source

Provide in operator form

# File lib/mathviz.rb, line 293
def min(b)
  [self, b].min
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.