Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/denouse/mod.ts>useNormal

Util functions for Deno
Latest
function useNormal
import { useNormal } from "https://deno.land/x/denouse@v0.0.12/mod.ts";

Generate a normal random variate.

Parameters

mean: number

Mean of the distribution μ.

stddev: number

Standard Deviation of the distribution σ.

Returns

[number, number]

A normal random variate.