as.vclVector {gpuR}R Documentation

Convert object to a vclVector

Description

Construct a vclVector of a class that inherits from vclVector

stuff

Usage

as.vclVector(object, type = NULL, ...)

## S4 method for signature 'vector'
as.vclVector(object, type = NULL)

## S4 method for signature 'vclMatrix'
as.vclVector(object, type = NULL, shared = FALSE)

Arguments

object

An object that is or can be converted to a vector object

type

A character string specifying the type of vclVector. Default is NULL where type is inherited from the source data type.

...

Additional arguments to as.vclVector methods

shared

Logical indicating if memory should be shared with x

Value

A vclVector object

A vclVector object.

Author(s)

Charles Determan Jr.


[Package gpuR version 2.0.6 Index]