WLJS LogoWLJS Notebook

SingularValueList

SingularValueList[m] gives a list of the nonzero singular values of a matrix m.

Examples

Singular values:

SingularValueList[{{1, 2}, {3, 4}}]
(* {5.465, 0.366} *)

Get k largest:

SingularValueList[{{1, 2, 3}, {4, 5, 6}}, 1]
(* {9.508} *)

Please visit the official Wolfram Language Reference for more details.

On this page