A comprehensive and versatile library for all your mathematical operations and computations.
- 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.
You can install the library using npm, yarn or pnpm.:
npm install numlabs
yarn add numlabs
pnpm add numlabs
const numlabs = require("numlabs");
import numlabs from "numlabs";
This project is licensed under the MIT License - see the LICENSE file for details.