Back to LAPACK/BLAS
la.svdModule.svdvals
Compute only the singular values of a general m×n matrix A.
Syntax
la.svdModule.svdvals(A, options?)
Description
Compute only the singular values of a general m×n matrix A. This is faster than computing the full SVD when only singular values are needed.
Parameters
| Name | Description |
|---|---|
| A | - Input matrix (m × n). Can be 2D array (row-major) or 1D array (column-major). |
| options(optional) | - Options |
Returns
SVDValsResult