svd:

Syntax:	svd( A )

Description:

	Computes the singular values of the input matrix as well as
	the right and left singular vectors. The output is a list
	containing the three aforementioned objects.

	The LAPACK subroutine DGESVD is used to perform the
	computation.

	Example:

	> A = [0.96, 1.72; 2.28, 0.96];
	> Asvd = svd(A)
	   sigma        u            vt
	> Asvd.vt
	 matrix columns 1 thru 2
	        -0.8        -0.6
	         0.6        -0.8
	> Asvd.u
	 matrix columns 1 thru 2
	        -0.6        -0.8
	        -0.8         0.6
	> Asvd.sigma
	 vector elements 1 thru 2
	           3           1
	> check = Asvd.u * diag(Asvd.sigma) * Asvd.vt
	 check =
	 matrix columns 1 thru 2
	        0.96        1.72
	        2.28        0.96
