RdsDoubleVector

RdsDoubleVector

Double-precision vector from R.

Extends

Classes

RdsDoubleVector

Methods

attribute(i) → {RdsObject}

Source:
Overrides:
Parameters:
Name Type Description
i number | string

Index or name of the attribute of interest.

Returns:

Value of the attribute.

Type
RdsObject

attributeNames() → {Array}

Source:
Overrides:
Returns:

Names of all attributes.

Type
Array

findAttribute(name) → {number}

Source:
Overrides:
Parameters:
Name Type Description
name string

Name of the attribute of interest.

Returns:

Index of name in the array of attributes from attributeNames. If name is not present, -1 is returned.

Type
number

free()

Source:
Overrides:

Free the memory on the Wasm heap for this object.

length()

Source:
Overrides:

type() → {string}

Source:
Overrides:
Returns:

Type of the object.

Type
string

values(optionsopt) → {Float64Array|Float64WasmArray}

Source:
Parameters:
Name Type Attributes Default Description
options object <optional>
{}

Optional parameters.

Properties
Name Type Attributes Default Description
copy boolean | string <optional>
true

Whether to copy the results from the Wasm heap, see possibleCopy.

Returns:

Values of the double vector.

Type
Float64Array | Float64WasmArray