Main Page   Modules   Compound List   File List   Compound Members   File Members  

4x4matrix_svd.h File Reference

#include <gandalf/linalg/4x4matrix.h>

Go to the source code of this file.

Functions

Gan_Bool gan_mat44_svd (Gan_Matrix44 *A, Gan_Matrix44 *U, Gan_Vector4 *W, Gan_Matrix44 *VT)
 Singular value decomposition of 4x4 matrix.

Gan_Bool gan_mat44T_svd (Gan_Matrix44 *A, Gan_Matrix44 *U, Gan_Vector4 *W, Gan_Matrix44 *VT)
 Singular value decomposition of the transpose of a 4x4 matrix.


Detailed Description

Module: 4x4 matrix singular value decomposition (double precision)

Part of: Gandalf Library

Revision: Last edited: Author:

Copyright: (c) 2000 Imagineer Software Limited


Function Documentation

Gan_Bool gan_mat44_svd Gan_Matrix44   A,
Gan_Matrix44   U,
Gan_Vector4   S,
Gan_Matrix44   VT
 

Singular value decomposition of 4x4 matrix.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Computes the SVD of a 4x4 input matrix A as

where U are the left singular vectors, S contain the singular values and VT are the (transposed) right singular vectors.

NOTE: the contents of A are NOT destroyed.

The singular values S are provided in decending order.

This function calls the general SVD routine gan_mat_svd().

Gan_Bool gan_mat44T_svd Gan_Matrix44   A,
Gan_Matrix44   U,
Gan_Vector4   S,
Gan_Matrix44   VT
 

Singular value decomposition of the transpose of a 4x4 matrix.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Computes the SVD of the transpose of a 4x4 input matrix A as

where U are the left singular vectors, S contain the singular values and VT are the (transposed) right singular vectors.

NOTE: the contents of A are NOT destroyed.

The singular values S are provided in decending order.

This function calls the general SVD routine gan_mat_svd().


Generated on Mon Oct 13 16:14:39 2003 by doxygen1.3-rc1