9 Repos
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 ist eine JavaScript-Bibliothek für beliebig genaue Arithmetik, die mathematische Berechnungen ohne die Rundungsfehler von Standard-Gleitkommazahlen ermöglicht. Sie bietet ein hochpräzises Mathe-Toolkit für grundlegende Arithmetik und fortgeschrittene transzendente Funktionen mit konfigurierbaren signifikanten Stellen. Die Bibliothek implementiert dezimalbasierte Mathematik, die verschiedene Rundungsmodi und Einstellungen für beliebige Präzision unterstützt. Sie enthält einen numerischen String-Parser zur Konvertierung von Dezimal-, Hexadezimal-, Binär- und Oktal-Strings in hochpräzise numerische Typen sowie ein Dienstprogramm zur Umwandlung hochpräziser Dezimalwerte in Brüche mit begrenzten Nennern. Die Funktionen decken grundlegende Arithmetik, hochpräzise Wertvergleiche und fortgeschrittene mathematische Funktionen wie Wurzeln, Exponenten, Logarithmen und Trigonometrie ab. Das Toolkit bietet zudem numerische Formatierung und sichere Zufallszahlengenerierung unter Verwendung von System-Entropie.
Provides a comprehensive library for scientific and arbitrary precision mathematical calculations specifically for JavaScript environments.
bignumber.js ist eine JavaScript-Bibliothek für beliebige Präzision, die für mathematische Operationen mit Dezimalzahlen und Ganzzahlen entwickelt wurde, die die Grenzen von Standard-Gleitkommazahlen überschreiten. Sie fungiert als Dezimal-Arithmetik-Engine und Mathe-Bibliothek zur Berechnung von Quadratwurzeln, Potenzen und modularer Exponentiation. Das Projekt bietet ein Dienstprogramm zur Basiskonvertierung, das numerische Werte zwischen jeder Basis von 2 bis 36 parsen und übersetzen kann. Es enthält zudem ein numerisches Formatierungstool zur Darstellung hochpräziser Werte als lokalisierte Strings mit benutzerdefinierten Trennzeichen und Notationsstilen. Die Bibliothek deckt ein breites Spektrum an Fähigkeiten ab, einschließlich Arithmetik mit beliebiger Präzision, konfigurierbaren Rundungsregeln und hochpräzisen Wertvergleichen. Sie bietet zudem Tools für die Umwandlung von Dezimalzahlen in Brüche und kryptografisch sichere Zufallszahlengenerierung.
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.