Learn R Programming

gpuR (version 2.0.6)

length,gpuVector-method: gpuMatrix/vclMatrix length method

Description

Retrieve number of elements in object

Usage

# S4 method for gpuVector
length(x)

# S4 method for vclMatrix length(x)

# S4 method for vclVector length(x)

# S4 method for gpuMatrix length(x)

Value

Length of the gpuVector object x.

The total number of elements in the vclMatrix object `x`.

The length of the vclVector based on its data type.

A numeric value

Arguments

x

A gpuMatrix/vclMatrix object

Author

Charles Determan Jr.