gnamestrip: Strip a GPU object of it names, or row/colnames.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/00general.R

Description

Returns a GPU object without any names or row/colnames. This may speed up certian operations.

Usage

1
gnamestrip(x, dup = TRUE)

Arguments

x

input object to be stripped of names

dup

if FALSE then don't duplicate x on the GPU. Return object will point to the same GPU memory as the original object.

Value

Returns the original object with no names.

Author(s)

Nathan Morris

See Also

names, colnames and dimnames

Examples

1
2
3
x=gseq(1,2)
names(x)=c("bill","joe")
gnamestrip(x)

gmatrix documentation built on May 29, 2017, 2:20 p.m.