nvMatrix-methods: Construct a nvMatrix

nvMatrixR Documentation

Construct a nvMatrix

Description

Construct a nvMatrix of a class that inherits from nvMatrix

Usage

nvMatrix(data = NA, ncol = NA, nrow = NA, type = NULL, ...)

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

## S4 method for signature 'missing'
nvMatrix(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 nvMatrix. Default is NULL where type is inherited from the source data type.

...

Additional method to pass to nvMatrix methods

Value

A nvMatrix object

Author(s)

Charles Determan Jr.


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