Class Index [+]

Quicksearch

Flt::BigEpsilonMixin

Mixin for tolerances defined by Big Epsilon or a multiple of it

Public Class Methods

new(mult=nil) click to toggle source
     # File lib/flt/tolerance.rb, line 514
514:     def initialize(mult=nil)
515:       @mult = mult || 1
516:       super nil
517:     end

Public Instance Methods

cast_value(num_class) click to toggle source
     # File lib/flt/tolerance.rb, line 518
518:     def cast_value(num_class)
519:       Tolerance.big_epsilon(num_class, @mult)
520:     end
descr_value() click to toggle source
     # File lib/flt/tolerance.rb, line 521
521:     def descr_value
522:       "#{@mult==1 ? '' : "#{@mult} "} big eps."
523:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.