linalg(deprecated)/singularvals - Maple Help

Home : Support : Online Help : linalg(deprecated)/singularvals

linalg(deprecated)

 singularvals
 compute the singular values of a matrix

 Calling Sequence singularvals(A)

Parameters

 A - square matrix

Description

 • Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[SingularValues], instead.
 - For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
 • The function singularvals returns a list of the singular values of the given matrix A.
 • The singular values of a matrix are the square roots of the eigenvalues of $A\mathrm{htranspose}\left(A\right)$.

Examples

Important: The linalg package has been deprecated. Use the superseding command LinearAlgebra[SingularValues], instead.

 > $\mathrm{with}\left(\mathrm{linalg}\right):$
 > $A≔\mathrm{array}\left(\left[\left[1,0,1\right],\left[1,0,1\right],\left[0,1,0\right]\right]\right)$
 ${A}{≔}\left[\begin{array}{ccc}{1}& {0}& {1}\\ {1}& {0}& {1}\\ {0}& {1}& {0}\end{array}\right]$ (1)
 > $\mathrm{singularvals}\left(A\right)$
 $\left[{0}{,}{2}{,}{1}\right]$ (2)