| svd_partial | R Documentation |
Compute a partial singular-value decomposition.
svd_partial(
A,
rank,
target = largest(),
method = auto(),
tol = 1e-08,
vectors = c("both", "left", "right", "none"),
seed = NULL,
certify = TRUE,
allow_dense_fallback = c("auto", "never", "always")
)
A |
Matrix or eigencore operator. |
rank |
Number of singular values to compute. |
target |
Eigencore singular-value target descriptor. |
method |
Solver method descriptor. |
tol |
Convergence and certification tolerance. |
vectors |
Which singular-vector sides to compute. |
seed |
Optional random seed for stochastic solver components. |
certify |
Whether to compute certification diagnostics. |
allow_dense_fallback |
Dense fallback policy. |
An eigencore_svd_result containing singular values, optional left
and right singular vectors, certificate diagnostics, method/plan metadata,
and convergence diagnostics.
set.seed(1)
X <- matrix(rnorm(60), 10, 6)
fit <- svd_partial(X, rank = 3)
values(fit)
certificate(fit)$passed
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.