cudaMatrix-methods: Construct a cudaMatrix

Description Usage Arguments Value Author(s)

Description

Construct a cudaMatrix of a class that inherits from cudaMatrix

Usage

1
2
3
4
5
6
7
cudaMatrix(data = NA, ncol = NA, nrow = NA, type = NULL, ...)

## S4 method for signature 'matrix'
cudaMatrix(data, type = NULL)

## S4 method for signature 'missing'
cudaMatrix(data, ncol = NA, nrow = NA, type = NULL)

Arguments

data

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

ncol

An integer specifying the number of columns

nrow

An integer specifying the number of rows

type

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

...

Additional method to pass to cudaMatrix methods

Value

A cudaMatrix object

Author(s)

Charles Determan Jr.


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