A simple number.
Also identifies the number as true constant, which affects nodes display style, so that opportunities for constant-folding can be idenified.
Forward to contained object
# File lib/mathviz.rb, line 543 def finite? @a.respond_to?(:finite?) ? @a.finite? : true end
Debugging method; string with both name and value
# File lib/mathviz.rb, line 514 def long n = @name && (@name + " = ") "(#{n}#{to_value})" end
Graphviz node shape
# File lib/mathviz.rb, line 534 def shape :plaintext end
Generated with the Darkfish Rdoc Generator 2.