JavaScript library for mathematical computations.
npm install mathlib    
MathLib.js is a JavaScript library for mathematical computations. It can handle circles, complex numbers, expressions, functions, lines, integers, matrices, permutations, points, polynomials, rational numbers, sets, and vectors.
There is a SVG and Canvas renderer for 2D plotting. 3D plotting is supported with Three.js.
Further it can parse Content MathML and write Content MathML, Presentation MathML and LaTeX.
Alternatively you can use Bower:
```
bower install MathLib
or npm:
``
npm install MathLib
Include MathLib in your web page:
``
Alternatively you can use the AMD, CommonJS or ES6 modules contained in the _build_ directory.
If you want to use the plotting functionality you also need to download the MathLib.css or the MathLib.min.css file and link to it in the head of your document:
``
Open your Terminal, clone MathLib
``
git clone git://github.com/alawatthe/MathLib.git
Enter the directory
``
cd MathLib
and run
``
npm install
to install the development dependencies (For this you need to have Node.js installed).
Run
```
grunt help
to get an overview of the available grunt tasks.
Make your changes to the files in the _src_ directory. Do not edit the files in the _build_ directory, these files will be generated via grunt.
Please maintain the current coding style and stick to the style guide.
New functionality should always be added with proper testing and documentation.