Main Page   Modules   Compound List   File List   Compound Members   File Members  

3x3matrixf_svd.h File Reference

#include <gandalf/linalg/3x3matrixf.h>

Go to the source code of this file.

Functions

Gan_Bool gan_mat33f_svd (Gan_Matrix33_f *A, Gan_Matrix33_f *U, Gan_Vector3_f *W, Gan_Matrix33_f *VT)
 Singular value decomposition of 3x3 matrix.

Gan_Bool gan_mat33Tf_svd (Gan_Matrix33_f *A, Gan_Matrix33_f *U, Gan_Vector3_f *W, Gan_Matrix33_f *VT)
 Singular value decomposition of the transpose of a 3x3 matrix.


Detailed Description

Module: 3x3 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_mat33f_svd Gan_Matrix33_f   A,
Gan_Matrix33_f   U,
Gan_Vector3_f   S,
Gan_Matrix33_f   VT
 

Singular value decomposition of 3x3 matrix.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Computes the SVD of a 3x3 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_mat33Tf_svd Gan_Matrix33_f   A,
Gan_Matrix33_f   U,
Gan_Vector3_f   S,
Gan_Matrix33_f   VT
 

Singular value decomposition of the transpose of a 3x3 matrix.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Computes the SVD of the transpose of a 3x3 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:38 2003 by doxygen1.3-rc1