This is the GitHub repository of stdlib source code and documentation. For help developing stdlib, see the development guide.
150+ special math functions.
35+ probability distributions, with support for evaluating probability density functions (PDFs), cumulative distribution functions (CDFs), quantiles, moments, and more.
40+ seedable pseudorandom number generators (PRNGs).
200+ general utilities for data transformation, functional programming, and asynchronous control flow.
200+ assertion utilities for data validation and feature detection.
50+ sample datasets for testing and development.
A plot API for data visualization and exploratory data analysis.
A benchmark framework supporting TAP.
REPL environment with integrated help and examples.
Running stdlib requires the following prerequisites:
- npm: package manager (version
> 2.7.0; if Node
< 1.0.0, version
< 4.0.0; if Node
< 6.0.0, version
- GNU make: development utility and task runner
- GNU bash: an sh-compatible shell
- gcc & g++ or Clang: C/C++ compilation and linking (g++ version
>= 4.8; clang version
>= 3.5, Xcode version
>=8.3.1on OS X)
- gfortran: Fortran compilation and linking (version
While not required to run stdlib, the following dependencies are required for automatically downloading external libraries:
The following external libraries can be automatically downloaded and compiled from source using
To install as a library or application dependency,
$ npm install @stdlib/stdlib
Once installed, stdlib packages can be individually required/imported to minimize load times and decrease bundle sizes. For example,
var dswap = require( '@stdlib/blas/base/dswap' );
To install globally for use as a command-line utility,
$ npm install -g @stdlib/stdlib
which will expose the
stdlib command. For example, to see available sub-commands
$ stdlib help
and to run the REPL
$ stdlib repl
See the contributing guidelines.
Copyright © 2016-2020. The Stdlib Authors.
|OS||Build (master)||Coverage (master)||Build (develop)||Coverage (develop)|
Test and build infrastructure is generously provided by the following services: