1.1.16 • Published 1 month ago

@mathigon/fermat v1.1.16

Weekly downloads
90
License
MIT
Repository
github
Last release
1 month ago

Fermat.ts

Build Status npm npm

Fermat.ts is a powerful mathematics and statistics library for TypeScript. It contains everything from number theory to random numbers, expression parsing and linear algebra classes. It was developed for Mathigon.org, an award-winning mathematics education project.

Features

Note: in version 0.6.0, all geometry classes and functions were moved to @mathigon/euclid!

  • Arithmetic: nearlyEquals(), toWord(), toFraction(), …
  • Combinatorics: factorial(), binomial(), permutations(), subsets()
  • Complex numbers: Complex()
  • Cryptography: caesarCipher(), vigenereCipher(), letterFrequency()
  • Matrices: Matrix.product(), Matrix.determinant(), Matrix.inverse(), …
  • Number theory: gcd(), isPrime(), generatePrime(), goldbach(), …
  • Numeric: bisect(), integrate()
  • Random: Random.shuffle(), Random.binomial(), Random.normalPDF(), …
  • Regression: Regression.linear(), Regression.coefficient(), …
  • Statistics: mean(), variance(), linearRegression(), …
  • Vector: Vector()

Usage

First, install Fermat.ts from NPM using

npm install @mathigon/fermat

Now, simply import all functions and classes you need, using

import {Complex, gcd} from '@mathigon/fermat'

Contributing

We welcome community contributions: please file any bugs you find or send us pull requests with improvements. You can find out more on Mathigon.io.

Before submitting a pull request, you will need to sign the Mathigon Individual Contributor License Agreement.

Copyright and License

Copyright © Mathigon (dev@mathigon.org)
Released under the MIT license

1.1.16

1 month ago

1.1.15

3 months ago

1.1.14

3 months ago

1.1.9

10 months ago

1.1.12

6 months ago

1.1.11

7 months ago

1.1.10

8 months ago

1.1.13

5 months ago

1.1.8

11 months ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

1.0.3

3 years ago

0.6.6

3 years ago

0.6.5

3 years ago

0.6.4

3 years ago

0.6.3

3 years ago

0.6.2

3 years ago

0.6.1

3 years ago

0.5.5

4 years ago

0.6.0

4 years ago

0.5.4

4 years ago

0.5.3

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.3.6

4 years ago

0.3.5

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.8

5 years ago

0.2.7

5 years ago

0.2.6

5 years ago

0.2.5

5 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.0

6 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago