9 مستودعات
Libraries providing scientific, complex, and arbitrary precision calculations for JavaScript and Node.js environments.
Distinct from JavaScript Library Integrations: Existing candidates focus on integration mechanisms or specific GPU/Crypto libraries, not general-purpose scientific math.
Explore 9 awesome GitHub repositories matching scientific & mathematical computing · JavaScript Math Libraries. Refine with filters or upvote what's useful.
Math.js is a comprehensive JavaScript library for scientific, complex, and arbitrary precision calculations. It functions as a symbolic computation engine, a linear algebra toolkit, a statistical analysis library, and a unit conversion system. The project distinguishes itself by providing a symbolic engine capable of parsing, simplifying, and manipulating mathematical expressions algebraically without requiring immediate numerical evaluation. It includes a framework for defining and converting physical quantities with units of measure and automatic prefix support. The library covers a broad
A comprehensive library for scientific, complex, and arbitrary precision calculations within JavaScript and Node.js environments.
decimal.js is a JavaScript arbitrary precision library designed to perform mathematical calculations without the rounding errors associated with standard floating-point numbers. It provides a high-precision math toolkit for executing basic arithmetic and advanced transcendental functions with configurable significant digits. The library implements decimal-based math that supports various rounding modes and arbitrary precision settings. It includes a numeric string parser for converting decimal, hexadecimal, binary, and octal strings into high-precision numeric types, as well as a utility for
Provides a comprehensive library for scientific and arbitrary precision mathematical calculations specifically for JavaScript environments.
bignumber.js is an arbitrary-precision JavaScript library designed to perform mathematical operations on decimals and integers that exceed the limits of standard floating-point numbers. It functions as a decimal arithmetic engine and a math library for calculating square roots, powers, and modular exponentiation. The project provides a base conversion utility capable of parsing and translating numeric values between any base from 2 to 36. It also includes a numeric formatting tool for rendering high-precision values into localized strings with custom separators and notation styles. The libra
Provides a comprehensive set of functions for square roots, powers, and modular exponentiation using arbitrary precision.
Dinero.js is a TypeScript-first library for creating, calculating, and formatting monetary values. It provides immutable money objects that represent amounts in the smallest currency subdivision as integers, ensuring precision and preventing floating-point errors. The library enforces same-currency rules on arithmetic operations and validates currency codes against ISO 4217 definitions at creation time. The library distinguishes itself through a calculator plugin architecture that delegates arithmetic operations to interchangeable backends, supporting number, bigint, or custom precision libra
Handles monetary values with multiple amount types including number, bigint, and custom precision backends.
Serves as a comprehensive JavaScript standard library for scientific computing and data analysis.
gl-matrix is a high-performance JavaScript library for vector and matrix math, purpose-built for real-time 3D graphics and physics simulations. It stores all vectors and matrices as typed arrays (Float32Array or Float64Array) in column-major order, matching the memory layout expected by OpenGL and WebGL shaders without requiring transposition. The library is implemented from scratch with zero external dependencies, keeping its bundle size minimal for web and Node.js environments. The library distinguishes itself through its immutable operation pattern, where each math function returns a new t
Provides high-performance vector and matrix math using typed arrays for WebGL and graphics applications.
number-precision is a JavaScript math library and arbitrary precision arithmetic utility. It provides a set of functions for performing addition, subtraction, multiplication, and division while avoiding the rounding errors common in standard binary floating-point operations. The project focuses on maintaining controlled decimal precision to ensure consistent mathematical output. This makes it applicable for financial calculations where exact currency values are required, as well as for high precision data processing in scientific or technical reports. Its capabilities include precise floatin
Acts as a specialized JavaScript math library providing arbitrary precision calculations for Node.js and browser environments.
Microdiff is a utility library for calculating structural differences between two JavaScript objects or arrays. It identifies additions, removals, and modifications by performing a deep comparison of nested data structures, providing a granular list of changes between object states. The library is built with a zero-dependency implementation that relies exclusively on native language primitives to maintain a minimal memory footprint. It includes built-in circular reference handling, which tracks object identities during traversal to prevent infinite loops when processing self-referencing data
Provides a lightweight implementation using only native primitives to ensure minimal memory footprint.
gcoord is a coordinate conversion library that transforms geographic coordinates between China's three major map coordinate systems: WGS-84, GCJ-02, and BD-09. It handles the offset corrections required by national encryption policies, converting GPS or API-derived coordinates to align with the projections used by Chinese map providers like Baidu, Gaode, and Google China. The library provides direct conversions between all three systems, including WGS-84 to GCJ-02, WGS-84 to BD-09, GCJ-02 to BD-09, and their reverse transformations. It processes individual coordinate pairs, batches of coordin
Implements the entire conversion logic as a standalone module with zero external dependencies.