as.matrix.gpuMatrix {gpuMagic} | R Documentation

## Convert the gpuMatrix object into a matrix

### Description

The function will convert the gpuMatrix object into a matrix, if you have run any GPU functions on the gpuMatrix object, please call `download(x)` to synchronize the data before calling this function.

### Usage

    ## S3 method for class 'gpuMatrix'
    as.matrix(x, ...)

### Arguments

`x` | an gpuMatrix object
`...` | This argument is only for compatibility. It does not take any effect.

### Value

A matrix

[Package gpuMagic version 1.4.0 Index]