The Float64Array
type represents an array of 64-bit floating point numbers (corresponding to the C double
data type).
Once established, you can reference elements in the array using the object's methods, or using standard array index syntax (that is, using bracket notation).
TypedArray
represents any of the typed array object types.Float64Array Float64Array(unsigned long length); |
Float64Array Float64Array (TypedArray array); |
Float64Array Float64Array (sequence<type> array); |
Float64Array Float64Array (ArrayBuffer buffer, optional unsigned long byteOffset, optional unsigned long length); |
Returns a new Float64Array
object.
Float64Array Float64Array( unsigned long length );Float64Array Float64Array( TypedArray array );
Float64Array Float64Array( sequence<type> array );
Float64Array Float64Array( ArrayBuffer buffer, optional unsigned long byteOffset, optional unsigned long length );
length
array
Array
), or a sequence of objects of a particular type, to copy into a new ArrayBuffer
. Each value in the source array is converted to a 64-bit floating point number before being copied into the new array.buffer
ArrayBuffer
to use as the storage for the new Float64Array
object.byteOffset
Float64Array
's view of the buffer will start with the first byte.A new Float64Array
object representing the specified data buffer.
Sets multiple values in the typed array, reading input values from a specified array.
array
ArrayBuffer
; the browser will intelligently copy the source range of the buffer to the destination range.array
. If you omit this value, 0 is assumed (that is, the source array
will overwrite values in the target array starting at index 0).