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

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

Powerful machine learning, accelerated by WebGPU
Go to Latest
function useNormal
import { useNormal } from "https://deno.land/x/netsaur@0.4.0-patch/packages/utilities/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.