Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@mathigon/fermat
Advanced tools
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.
Note: in version 0.6.0
, all geometry classes and functions were moved to
@mathigon/euclid!
nearlyEquals()
, toWord()
, toFraction()
, …factorial()
, binomial()
, permutations()
, subsets()
Complex()
caesarCipher()
, vigenereCipher()
, letterFrequency()
Matrix.product()
, Matrix.determinant()
, Matrix.inverse()
, …gcd()
, isPrime()
, generatePrime()
, goldbach()
, …bisect()
, integrate()
Random.shuffle()
, Random.binomial()
, Random.normalPDF()
, …Regression.linear()
, Regression.coefficient()
, …mean()
, variance()
, linearRegression()
, …Vector()
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'
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
FAQs
Powerful mathematics and statistics library for JavaScript.
The npm package @mathigon/fermat receives a total of 1,715 weekly downloads. As such, @mathigon/fermat popularity was classified as popular.
We found that @mathigon/fermat demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.