numlab
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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.

Package Sidebar

Install

npm i numlab

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

395 kB

Total Files

73

Last publish

Collaborators

  • losier