gpuVector-methods: Construct a gpuVector

Description Usage Arguments Value Author(s)

Description

Construct a gpuVector of a class that inherits from gpuVector

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
gpuVector(data, length, type = NULL, ...)

## S4 method for signature 'vector,missing'
gpuVector(data, type = NULL, ctx_id = NULL)

## S4 method for signature 'missingOrNULL,ANY'
gpuVector(data, length, type = NULL,
  ctx_id = NULL)

## S4 method for signature 'numeric,numericOrInt'
gpuVector(data, length, type = NULL,
  ctx_id = 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 gpuVector. Default is NULL where type is inherited from the source data type.

...

Additional method to pass to gpuVector methods

ctx_id

An integer specifying the object's context

Value

A gpuVector object

Author(s)

Charles Determan Jr.


cdeterman/gpuR documentation built on July 13, 2019, 3:15 a.m.