Learn R Programming

gpuR (version 2.0.6)

as.gpuVector: Convert object to a gpuVector

Description

Construct a gpuVector of a class that inherits from gpuVector

Usage

as.gpuVector(object, type)

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

Value

A gpuVector object

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.

Author

Charles Determan Jr.