gpuR-deepcopy: Copy a "gpuR" object

Description Usage Arguments Details Value Author(s) See Also

Description

This is needed to make a duplicate of a gpuR object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
deepcopy(object, ...)

## S4 method for signature 'gpuVector'
deepcopy(object)

## S4 method for signature 'vclMatrix'
deepcopy(object, source = FALSE)

## S4 method for signature 'vclVector'
deepcopy(object)

## S4 method for signature 'gpuMatrix'
deepcopy(object)

Arguments

object

A gpuR object

...

Additional arguments

source

A boolean indicating if source matrix should be copied (only relevant for 'block' and 'slice' objects).

Details

This is needed to make a duplicate of a gpuR object (i.e. gpuMatrix, gpuVector, vclMatrix, vclVector because the traditional syntax would only copy the pointer of the object.

Value

A gpuR object

Author(s)

Charles Determan Jr.

See Also

block


gpuR documentation built on May 30, 2019, 1:02 a.m.