import { type Float16ArrayConstructor } from "https://deno.land/x/float16@v3.8.7/mod.ts";
Properties
readonly
prototype: Float16ArrayMethods
new(): Float16Array
new(length: number): Float16Array
new(elements: Iterable<number>): Float16Array
new(array: ArrayLike<number> | ArrayBufferLike): Float16Array
new(): Float16Array
buffer: ArrayBufferLike,
byteOffset: number,
length?: number,
of(...items: number[]): Float16Array
Returns a new array from a set of elements.
from(elements: Iterable<number>): Float16Array
Creates an array from an array-like or iterable object.
from<T>(): Float16Array
elements: Iterable<T>,
mapfn: (v: T, k: number) => number,
thisArg?: any,
Creates an array from an array-like or iterable object.
from(arrayLike: ArrayLike<number>): Float16Array
Creates an array from an array-like or iterable object.
from<T>(): Float16Array
arrayLike: ArrayLike<T>,
mapfn: (v: T, k: number) => number,
thisArg?: any,
Creates an array from an array-like or iterable object.