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

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

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