Float64ArrayConstructor

@native @JSType trait Float64ArrayConstructor extends StObject with Instantiable0[Float64Array] with Instantiable1[ArrayBufferLike | ArrayLike[Double] | Double | Iterable[Double], Float64Array] with Instantiable2[ArrayBufferLike, Double, Float64Array] with Instantiable3[ArrayBufferLike, Double | Unit, Double, Float64Array]
trait Instantiable3[ArrayBufferLike, Double | Unit, Double, Float64Array]
trait Instantiable2[ArrayBufferLike, Double, Float64Array]
trait Instantiable1[ArrayBufferLike | ArrayLike[Double] | Double | Iterable[Double], Float64Array]
trait Instantiable0[Float64Array]
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def from(arrayLike: ArrayLike[Double]): Float64Array

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

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

Value Params
arrayLike

An array-like or iterable object to convert to an array.

def from(arrayLike: Iterable[Double]): Float64Array

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

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

Value Params
arrayLike

An array-like or iterable object to convert to an array.

mapfn

A mapping function to call on every element of the array.

thisArg

Value of 'this' used to invoke the mapfn.

def from(arrayLike: Iterable[Double], mapfn: Function2[Double, Double, Double]): Float64Array
def from(arrayLike: Iterable[Double], mapfn: Function2[Double, Double, Double], thisArg: Any): Float64Array
def from(arrayLike: Iterable[Double], mapfn: Unit, thisArg: Any): Float64Array
def from[T](arrayLike: ArrayLike[T], mapfn: Function2[T, Double, Double]): Float64Array

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

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

Value Params
arrayLike

An array-like or iterable object to convert to an array.

mapfn

A mapping function to call on every element of the array.

thisArg

Value of 'this' used to invoke the mapfn.

def from[T](arrayLike: ArrayLike[T], mapfn: Function2[T, Double, Double], thisArg: Any): Float64Array
def of(items: Double*): Float64Array

Returns a new array from a set of elements.

Returns a new array from a set of elements.

Value Params
items

A set of elements to include in the new array object.

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

val BYTES_PER_ELEMENT: Double

The size in bytes of each element in the array.

The size in bytes of each element in the array.