# symboa

> A JavaScript library for symbolic mathematics

Latest version **1.0.1-3** (published 2020-12-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install symboa
pnpm add symboa
yarn add symboa
bun add symboa
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1-3 |
| Published | 2020-12-16 |
| First published | 2020-11-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | harryvtripathi |
| Keywords | mathematics, maths |

## Links

- npm: https://www.npmjs.com/package/symboa
- Repository: https://github.com/HarryVTripathi/symboa
- Homepage: https://github.com/HarryVTripathi/symboa#readme
- Issues: https://github.com/HarryVTripathi/symboa/issues
- npm.io page: https://npm.io/package/symboa

## Alternatives

- [random-seedable](https://npm.io/package/random-seedable.md) — 27.9K weekly downloads
- [n2words](https://npm.io/package/n2words.md) — 22.2K weekly downloads
- [@stdlib/math-base-special-factorialln](https://npm.io/package/@stdlib/math-base-special-factorialln.md) — 5.7K weekly downloads
- [@stdlib/math-base-special-abs2](https://npm.io/package/@stdlib/math-base-special-abs2.md) — 1.7K weekly downloads
- [commons-math-interpolation](https://npm.io/package/commons-math-interpolation.md) — 1.4K weekly downloads

## Recent versions

- 1.0.1-3 (latest) — 2020-12-16
- 1.0.1-2 — 2020-12-16
- 1.0.1-1 — 2020-12-15
- 1.0.1-0 — 2020-11-27
- 1.0.0 — 2020-11-27

## README

# symboa

[ Still in development ] A JavaScript library for symbolic mathematics.

### Define mathematical expression.

Symboa provides super easy `Expression` objects to define mathematical expressions.

```javascript
const Expression = require('symboa');
const exp = new Expression('2 + 3 - ( 4 -8 )');

const result = exp.evaluate();
```

### Evaluate complex algebraic expressions.

Use it to evaluate complex mathematical operations. Pass a dictionary/object in the arguements as values for algebraic variables

```javascript
const exp = new Expression('y * tan ( cos ( sin ( max ( y , 3 ) / 3 * x ) ) ) + 2 * ( 6 + 3 * 2 )');
const res = exp.evaluate({ x: 3.14, y: 2 });
```

### Remember to

 - Provide space to separate tokens. `(3+(sin(2))` is read as single token and is invalid. `3 + ( sin ( 2 ) )` would be correct expression here.
 
 - `xy` gets treated as a single variable; `x y` get treated as two different variables x and y.

 - Provides just about any function in Math.

Have nice day and nicer sym-boeing!

---
_Source: https://npm.io/package/symboa · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
