algebrite logo

algebrite

Computer Algebra System in Javascript.
View on GitHub.
latest-stable: v1.4.0

Features
Usage via API or custom scripting
Arbitrary-precision arithmetic
Complex quantities
Simplification
Expansion
Substitution
Symbolic and numeric roots
Units of measurement
Matrices, tensors
Derivatives and gradients
Integrals, multi-integrals

Docs

Sandbox

Release notes

Credits/links

Algebrite is a simple, comprehensible and extensible Javascript library for symbolic computation.

Why Algebrite

Algebrite is...

Features

...these are just some of the features. For an organic view please check the function reference.

Usage via API or custom scripting language

Algebrite comes with its own scripting language, but all functions are also exposed as API for standard JS integration. See function reference for API description.

Arbitrary-precision arithmetic



Fractions


Complex quantities: rectangular and polar


Simplification


Expansion


Substitution


Symbolic and numeric roots

... symbolic solutions of simple polynomials:

... symbolic solutions of higher-degree polynomials or special polynomials:
...give it a few seconds

... numeric solutions for even higher-degree irreducible polynomials:

Units of measurement


Matrices, tensors


... tensors:

tensors (unlike matrices) can have more than 2 dimensions:

Derivatives and gradients


Integrals, multi-integrals


... computing integrals:
...give it a few seconds

... calculating them in the exponential domain:
...give it a few seconds

Credits and links

Algebrite is an adaptation of a delightful gem of CAS named EigenMath by George Weigt. Most of his manual applies to Algebrite. See the function reference (adapted from the one compiled by George Weigt for the EigenMath project) for a quick view. Also you might want to check another fork of EigenMath: SMIB by Philippe Billet.

Another CAS of similar nature is SymPy, made in Python.

Other Javascript CAS are:

The sandbox is based on simple-console by Isaiah Odhner. The "pentakis dodecahedron" logo is by Felix Koutchinski.