time-to-botec/squiggle/node_modules/@stdlib/stats/base/dists/levy/README.md
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

5.8 KiB

Lévy

Lévy distribution.

Usage

var levy = require( '@stdlib/stats/base/dists/levy' );

levy

Lévy distribution.

var dist = levy;
// returns {...}

The namespace contains the following distribution functions:

The namespace contains the following functions for calculating distribution properties:

The namespace contains a constructor function for creating a Lévy distribution object.

var Levy = require( '@stdlib/stats/base/dists/levy' ).Levy;

var dist = new Levy( 2.0, 4.0 );

var y = dist.pdf( 2.5 );
// returns ~0.041

Examples

var objectKeys = require( '@stdlib/utils/keys' );
var levy = require( '@stdlib/stats/base/dists/levy' );

console.log( objectKeys( levy ) );