Ruby math modules

These are some math modules for Ruby that I am working on. I hope that they are useful to someone. Feedback is welcome.


Math::Const -- Collection of mathematical and physical constants.

  • Example:
    >> FARADAY   
    => 96485.341472
    

Math::Polynomial -- Maple-style polynomial algebra for Ruby.

  • Example:
    >> p = (X-1)*(X+1)
    => 
               2    
              X  - 1
    
    >> p.roots
    => [-1.0, 1.0]
    >>
    
  • Status: Alpha
  • Version: 0.3.1
  • Download: math-poly-0.3.1.tar.gz
  • Install: ruby install.rb
  • No documentation available.

Daniel Carrera
Last modified: Sat Feb 8 23:08:00 EST 2003