Main Page   Modules   Compound List   File List   Compound Members   File Members  

3x3matrix_svd.h File Reference

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

Go to the source code of this file.

Functions

Gan_Bool gan_mat33_svd (Gan_Matrix33 *A, Gan_Matrix33 *U, Gan_Vector3 *W, Gan_Matrix33 *VT)
 Singular value decomposition of 3x3 matrix.

Gan_Bool gan_mat33T_svd (Gan_Matrix33 *A, Gan_Matrix33 *U, Gan_Vector3 *W, Gan_Matrix33 *VT)
 Singular value decomposition of the transpose of a 3x3 matrix.


Detailed Description

Module: 3x3 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_mat33_svd Gan_Matrix33   A,
Gan_Matrix33   U,
Gan_Vector3   S,
Gan_Matrix33   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_mat_svd().

Gan_Bool gan_mat33T_svd Gan_Matrix33   A,
Gan_Matrix33   U,
Gan_Vector3   S,
Gan_Matrix33   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_mat_svd().


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