Sha256: 3a3b0e6ec75bf94e13163ea45d4d380ec99d9a5cd1c077da2b4d0aafd7016b2d
Contents?: true
Size: 1.77 KB
Versions: 1
Compression:
Stored size: 1.77 KB
Contents
# Mathmas Mathmas is a gem for Symbolic Mathematics inspired by [SymPy](https://github.com/sympy/sympy) and [dydx](https://github.com/gogotanaka/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](http://nbviewer.ipython.org/github/domitry/mathmas/blob/master/examples/Mathmas_develop.ipynb) to overview the current status.** ## Quick Start Run the code below to install Mathmas. ```shell gem install mathmas ``` Then try example. ```shell 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](https://github.com/minad/iruby) + Plotting with [Nyaplot](https://github.com/domitry/nyaplot) ## Usage ```ruby 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/<my-github-username>/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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mathmas-0.0.1 | README.md |