cudaVector-methods: Construct a cudaVector

cudaVectorR Documentation

Construct a cudaVector

Description

Construct a cudaVector of a class that inherits from cudaVector

Usage

cudaVector(data, length, type = NULL, ...)

## S4 method for signature 'vector,missing'
cudaVector(data, length = NULL, type = NULL)

## S4 method for signature 'missing,ANY'
cudaVector(data, length, type = NULL)

Arguments

data

An object that is or can be converted to a vector

length

A non-negative integer specifying the desired length.

type

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

...

Additional method to pass to cudaVector methods

Value

A cudaVector object

Author(s)

Charles Determan Jr.


cinumell/gpuRcuda documentation built on May 16, 2022, 12:37 a.m.