extract-methods: extract/set parts of the data in gpuMatrix object

Description Usage Arguments Value

Description

extract/set parts of the data in gpuMatrix object

Usage

1
2
3
4
5
## S4 method for signature 'gpuMatrix,ANY,ANY,missing'
x[i = NA, j = NA, ..., drop = TRUE]

## S4 replacement method for signature 'gpuMatrix,ANY,ANY,numeric'
x[i, j, ...] <- value

Arguments

x

an gpuMatrix object

i, j

indices specifying elements to extract or replace. The index j can be missing or empty.

...

This argument is only for compatibility. It does not have any effect.

drop

For matrices and arrays. If TRUE the result is coerced to the lowest possible dimension.

value

The value you want to set

Value

A matrix subset

no return value


gpuMagic documentation built on Nov. 8, 2020, 5:15 p.m.