Learn R Programming

scidb (version 1.2-0)

svd: svd

Description

Compute a partial or full singular value decomposition of a SciDB matrix.

Usage

"svd"(x, nu, nv)

Arguments

x
A scidb object representing a matrix.
nu
Optional number of singular values/vectors to compute. See notes below.
nv
Not used.

Value

A list of three scidb objects corresponding to a matrix of left singular vectors, a vector of singular values, and a matrix of transposed right singular vectors, respectively.

See Also

scidb

Examples

Run this code
## Not run: 
# x <- as.scidb(matrix(rnorm(500*500),500))
# y <- svd(x)
# print(y)
# ## End(Not run)

Run the code above in your browser using DataLab