Docs/LAPACK/BLAS/la.svdModule.svd
Back to LAPACK/BLAS

la.svdModule.svd

Compute the Singular Value Decomposition of a general m×n matrix A.

Syntax

la.svdModule.svd(A, options?)

Description

Compute the Singular Value Decomposition of a general m×n matrix A. A = U * S * V^T where U is m×m (or m×k) orthogonal, S is a diagonal matrix with singular values, and V is n×n (or k×n) orthogonal, with k = min(m, n).

Parameters

NameDescription
A- Input matrix (m × n). Can be 2D array (row-major) or 1D array (column-major).
options(optional)- SVD options

Returns

SVDResult