Computes the eigenvalues and eigenvectors for gpuMatrix objects.
# S4 method for gpuMatrix
eigen(x, symmetric, only.values = FALSE,
EISPACK = FALSE)# S4 method for vclMatrix
eigen(x, symmetric, only.values = FALSE,
EISPACK = FALSE)
A gpuMatrix object
logical indication if matrix is assumed to be symmetric. If not specified or FALSE, the matrix is inspected for symmetry
if TRUE, returns only eigenvalues (internals still currently calculate both regardless)
logical. Defunct and ignored
A gpuVector containing the unsorted eigenvalues
of x.
A gpuMatrix containing the unsorted
eigenvectors of x
This function currently implements the qr_method function
from the ViennaCL library. As such, non-symmetric matrices are not
supported given that OpenCL does not have a 'complex' data type.
Neither the eigenvalues nor the eigenvectors are sorted as done in the base R eigen method.