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

la.svdModule.svdRank

Estimate the numerical rank of a matrix using SVD.

Syntax

la.svdModule.svdRank(A, options?)

Description

Estimate the numerical rank of a matrix using SVD. The rank is estimated by counting the number of singular values above a tolerance threshold. This is the most reliable method for determining numerical rank.

Parameters

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

Returns

SVDRankResult