identity_matrix: Identity Matrix on Device
Description
Creates an identity matrix directly on the current device
(e.g. GPU)
Usage
identity_matrix(x, type = NULL)
Arguments
- x
A numeric value indicating the order of the identity matrix
- type
A character string specifying the type of gpuMatrix. Default
is derived from getOption("gpuR.default.type")
.
Author
Charles Determan Jr.