split_merge_svd_row: Split-merge SVD via row partitioning

View source: R/svd_stable.R

split_merge_svd_rowR Documentation

Split-merge SVD via row partitioning

Description

Computes an SVD of a matrix X by partitioning its rows into s blocks, taking the SVD of each block, and merging the results. More numerically stable than direct svd() for ill-conditioned large matrices.

Usage

split_merge_svd_row(X, s = 10, verbose = FALSE)

Arguments

X

Numeric matrix.

s

Integer. Number of row partitions (default 10).

verbose

Logical. Currently unused; retained for API compatibility.

Details

This is an internal helper for invert_matrix() and svd_pseudo_inverse(); end users typically should not call it directly.

Value

A list with elements u, d, v, matching the structure returned by base svd.


cevcmm documentation built on July 24, 2026, 5:07 p.m.