@types/jsboxmuller
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

Installation

npm install --save @types/jsboxmuller

Summary

This package contains type definitions for jsboxmuller (https://github.com/kcwiakala/jsboxmuller).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsboxmuller.

index.d.ts

export = jsBoxMuller;

/**
 * Generates normally-distributed pseudo-random numbers using the polar form of the
 * Box-Muller transform (https://en.wikipedia.org/wiki/Box%E2%80%93Muller_transform).
 *
 * Note that the documentation for the jsboxmuller package incorrectly referrs to the
 * second argument as "variance", when it is really standard deviation (the square root
 * of variance); it is labeled correctly here.
 *
 * @param mean - The mean of the normal distribution; defaults to 0 if not provided.
 * @param stdDev - The standarad deviation of the distribtion; defaults to 1 if not provided.
 */
declare function jsBoxMuller(mean?: number, stdDev?: number): number;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Ethan Brown.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.20ts5.7
1.1.20ts5.6
1.1.20latest
1.1.20ts4.5
1.1.20ts4.6
1.1.20ts4.7
1.1.20ts4.8
1.1.20ts4.9
1.1.20ts5.0
1.1.20ts5.1
1.1.20ts5.2
1.1.20ts5.3
1.1.20ts5.4
1.1.20ts5.5
1.1.20ts5.8
1.1.00ts3.9
1.1.00ts4.0
1.1.00ts4.1
1.1.00ts4.2
1.1.00ts4.3
1.1.00ts4.4

Version History

VersionDownloads (Last 7 Days)Published
1.1.20
1.1.10
1.1.00

Package Sidebar

Install

npm i @types/jsboxmuller

Weekly Downloads

0

Version

1.1.2

License

MIT

Unpacked Size

3.91 kB

Total Files

5

Last publish

Collaborators

  • types