Project

mathviz

0.0
No commit activity in last 3 years
No release in over 3 years
Turn simple equations (a = b * c) into GraphViz dot files showing relationships, values, and units.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.0
>= 1.5.3
~> 3.10

Runtime

>= 0.5.1
 Project Readme

-*- rdoc -*-

MathViz¶ ↑

DESCRIPTION:¶ ↑

Turn simple equations (a = b * c) into GraphViz dot files showing relationships, values, and units.

FEATURES/PROBLEMS:¶ ↑

  • Adds one method to Object (by way of Graphable) and several to Numeric (by way Measurable, Unit, and NumericExtensions) If you use units of measure, each unit will appear on Numeric via module Unit.

  • MathViz produces textual .dot files. You will need a viewer which supports dot files directly, or Graphviz to convert them to images yourself.

SYNOPSIS:¶ ↑

<%= File.read(‘examples/E_mc2.rb’).gsub(/^/, ‘ ’)%>

REQUIREMENTS:¶ ↑

INSTALL:¶ ↑

  • sudo gem install mathviz

LICENSE:¶ ↑

Creative Commons Attribution-Share Alike 3.0 Unported Licence creativecommons.org/licenses/by-sa/3.0/