Skip to content

domitry/mathmas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mathmas

Mathmas is a gem for Symbolic Mathematics inspired by SymPy and dydx. This gem is still an experimental implementation and needs your help. Please contact me if you are interest in contributing it.

The word "Mathmas" comes from "ますます"(Mas-Mas) which means "more and more" in Japanese.

This gem is still on progress. See the notebook to overview the current status.

Quick Start

Run the code below to install Mathmas.

gem install mathmas

Then try example.

cp path_to_gem/examples/Mathmas_develop.ipynb ~
cd ~
iruby notebook #-> then select "Mathmas_develop" on your browser.

Feature

  • Simple Symbolic Equation
  • Beautiful Displaying of numerical formula on IRuby notebook
  • Plotting with Nyaplot

Usage

require 'mathmas'
include Mathmas
f(x) = x**2
f.plot(x: -1..1) #-> Plot on IRuby notebook
f.diff #-> 2*x # not implemented yet
f.integrate(x: -1..1) # not implemented yet
f.minimize # not implemented yet

TODO:

  • Differentiating
  • Definite Integrating
  • Undefinite Integrating
  • Optimization problem solver
  • ODE solver

Installation

Add this line to your application's Gemfile:

gem 'mathmas'

And then execute:

$ bundle

Or install it yourself as:

$ gem install mathmas

Contributing

  1. Fork it ( http://github.com//mathmas/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Gem for Symbolic mathematics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages