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

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

Powerful machine learning, accelerated by WebGPU
Go to Latest
function useRange
import { useRange } from "https://deno.land/x/netsaur@0.4.0-patch/packages/utilities/mod.ts";

Get n evenly distributed numbers in a range.

Parameters

n: number

Number of numbers to generate.

optional
min = [UNSUPPORTED]

Lower limit of range (inclusive).

optional
max = [UNSUPPORTED]

Upper limit of range (exclusive).

Returns

number[]

Array of n evenly distributed numbers.