stdlib numerica

An interactive platform for stdlib's numerical computing libraries. Explore statistical distributions, BLAS and LAPACK operations, and random sampling all running directly in your browser.

Why stdlib?

stdlib is the most comprehensive standard library for JavaScript and Node.js, providing robust, high-performance implementations of mathematical, statistical, and scientific computing functions.

High Performance

Optimized C/Fortran via native bindings and WebAssembly

Precision

IEEE 754 compliant with rigorous numerical accuracy

Modular

3,500+ individually installable packages

Well Tested

Extensive test suites with reference implementations

How to Install

Getting started with stdlib is as easy as installing any other npm package. You can install individual packages or the entire library.

// Install the entire library
npm install @stdlib/stdlib

// Or install individual packages for smaller bundles
npm install @stdlib/stats-base-dists-normal-pdf
npm install @stdlib/lapack-base-dlacpy

Basic Example:

import erf from '@stdlib/math-base-special-erf';

// Evaluate the error function
const y = erf( 0.5 );
console.log( y ); // => 0.5204998778130465