cudaMatrix-methods: Construct a cudaMatrix

cudaMatrixR Documentation

Construct a cudaMatrix

Description

Construct a cudaMatrix of a class that inherits from cudaMatrix

Usage

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.


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