Svd - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


Svd

compute the singular values/vectors of a numeric matrix

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Svd(X)

Svd(X, U,`left`)

Svd(X, V,`right`)

Svd(X, U, V)

Parameters

X

-

n x p matrix

U

-

(optional) the left singular vectors are to be returned in U

V

-

(optional) the right singular vectors are to be returned in V

Description

• 

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

• 

Svd(X) returns a 1 by minn,p array of the singular values of X.

• 

The entries of X must be all numerical.

• 

Svd(X,U,`left`) returns the singular values and the left singular vectors in U.

• 

Svd(X,V,`right`) returns the singular values and the right singular vectors in V.

• 

Svd(X,U,V) returns the singular values and the left and right singular vectors in U and V respectively. The singular vectors together with the singular values satisfy U'XV=D where U' is the transpose of U and U is n by n, V is p by p, X is n by p, and D is n by p where Di,i is/are the singular value/values of X.

• 

This procedure Svd is compatible with the Fortran library linpack.

• 

Note that nothing happens when the user invokes Svd(X) (same for other calling sequences); the user must use evalf(Svd(X)) to actually compute the singular values and singular vectors.

Examples

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

Alinalgmatrix2,2,1,2,3,4

A1234

(1)

evalfSvdA

5.464985704219040.365966190626257

(2)

See Also

LinearAlgebra[SingularValues]