Skip to main content

Float16ArrayConstructor

interface Float16ArrayConstructor
unstable

Properties Jump to heading

The size in bytes of each element in the array.

Jump to headingof(...items: number[]): Float16Array

Returns a new array from a set of elements.

Jump to headingfrom(arrayLike: ArrayLike<number>): Float16Array

Creates an array from an array-like or iterable object.

Jump to headingfrom<T>(
arrayLike: ArrayLike<T>,
mapfn: (
v: T,
k: number,
) => number
,
thisArg?: any,
): Float16Array

Creates an array from an array-like or iterable object.

Back to top