as.gpuVector {gpuR}R Documentation

Convert object to a gpuVector

Description

Construct a gpuVector of a class that inherits from gpuVector

Usage

as.gpuVector(object, type)

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

Arguments

object

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

type

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

Value

A gpuVector object

Author(s)

Charles Determan Jr.


[Package gpuR version 2.0.6 Index]