Learn R Programming

gpuR (version 2.0.6)

as.gpuMatrix: Convert object to a gpuMatrix

Description

Construct a gpuMatrix of a class that inherits from gpuMatrix

Usage

as.gpuMatrix(object, type)

Value

A gpuMatrix object

Arguments

object

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

type

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

Author

Charles Determan Jr.