cudaVector-methods: Construct a cudaVector

Description Usage Arguments Value Author(s)

Description

Construct a cudaVector of a class that inherits from cudaVector

Usage

1
2
3
4
5
6
7
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.


gpuRcore/gpuRcuda documentation built on May 17, 2019, 8 a.m.