numlab
v0.2.0
Published
A comprehensive and versatile library for all your mathematical operations and computations.
Downloads
44
Maintainers
Readme
NUMLABs (soon add a better readme)
A comprehensive and versatile library for all your mathematical operations and computations.
Features
- Arithmetic Functions: Basic operations like addition, subtraction, multiplication, division, and more.
- Linear Algebra: Operations on vectors and matrices including dot product, cross product, matrix multiplication, and more.
- Logarithms: Functions for logarithmic calculations with various bases.
- Random Number Generation: Functions to generate random integers, floats, and numbers from a normal distribution.
- Statistics: Functions to calculate mean, median, mode, variance, standard deviation, and more.
- Trigonometry: Sine, cosine, tangent, and other trigonometric functions.
- Advanced Mathematics: Factorial, greatest common divisor, least common multiple, Fibonacci numbers, prime factors, and more.
Installation
You can install the library using npm, yarn or pnpm.:
npm install numlabs
yarn add numlabs
pnpm add numlabs
Usage
const numlabs = require("numlabs");
import numlabs from "numlabs";
License
This project is licensed under the MIT License - see the LICENSE file for details.