In Files

Methods

Files

MathViz::Input

A simple number.

Derives most of it’s behavior from MathViz::Constant, but also identifies the number as variable, which affects nodes display style, so that opportunities for constant-folding can be idenified.

Public Instance Methods

constant?() click to toggle source

false

# File lib/mathviz.rb, line 558
def constant?
  false
end
shape() click to toggle source

Graphiviz node shape

# File lib/mathviz.rb, line 553
def shape
  :ellipse
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.