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

x/netsaur/packages/utilities/src/mod.ts>useNormal

Powerful Powerful Machine Learning library with GPU, CPU and WASM backends
Latest
function useNormal
import { useNormal } from "https://deno.land/x/netsaur@0.4.2/packages/utilities/src/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.