项目作者: mathigon

项目描述 :
Mathematics and statistics library for TypeScript.
高级语言: TypeScript
项目地址: git://github.com/mathigon/fermat.js.git
创建时间: 2014-09-14T18:38:38Z
项目社区:https://github.com/mathigon/fermat.js

开源协议:MIT License

下载


Fermat.ts

Build Status
@mathigon/fermat"">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 @mathigon/fermat">NPM
using

npm install @mathigon/fermat

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

  1. 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 © Mathigon (dev@mathigon.org)
Released under the MIT license