as.gpuMatrix-methods: Convert object to a gpuMatrix

Description Usage Arguments Value Author(s)

Description

Construct a gpuMatrix of a class that inherits from gpuMatrix

Usage

1
as.gpuMatrix(object, type)

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.

Value

A gpuMatrix object

Author(s)

Charles Determan Jr.


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