Main Page   Modules   Compound List   File List   Compound Members   File Members  

4x4matrixf_svd.h File Reference

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

Go to the source code of this file.

Functions

Gan_Bool gan_mat44f_svd (Gan_Matrix44_f *A, Gan_Matrix44_f *U, Gan_Vector4_f *W, Gan_Matrix44_f *VT)
 Singular value decomposition of 4x4 matrix.

Gan_Bool gan_mat44Tf_svd (Gan_Matrix44_f *A, Gan_Matrix44_f *U, Gan_Vector4_f *W, Gan_Matrix44_f *VT)
 Singular value decomposition of the transpose of a 4x4 matrix.


Detailed Description

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

Part of: Gandalf Library

Revision: Last edited: Author:

Copyright: (c) 2000 Imagineer Software Limited


Function Documentation

Gan_Bool gan_mat44f_svd Gan_Matrix44_f   A,
Gan_Matrix44_f   U,
Gan_Vector4_f   S,
Gan_Matrix44_f   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_matf_svd().

Gan_Bool gan_mat44Tf_svd Gan_Matrix44_f   A,
Gan_Matrix44_f   U,
Gan_Vector4_f   S,
Gan_Matrix44_f   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_matf_svd().


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