Main Page   Modules   Compound List   File List   Compound Members   File Members  

2x2matrixf_eigsym.h File Reference

#include <gandalf/linalg/2x2matrixf.h>

Go to the source code of this file.

Functions

Gan_Bool gan_symmat22f_eigen (Gan_SquMatrix22_f *A, Gan_Vector2_f *W, Gan_Matrix22_f *Z)
 Eigenvalues and maybe eigenvectors of symmetric 2x2 matrix.


Detailed Description

Module: 2x2 symmetric matrix eigenvalues/vectors (double precision)

Part of: Gandalf Library

Revision: Last edited: Author:

Copyright: (c) 2000 Imagineer Software Limited


Function Documentation

Gan_Bool gan_symmat22f_eigen Gan_SquMatrix22_f   A,
Gan_Vector2_f   W,
Gan_Matrix22_f   Z
 

Eigenvalues and maybe eigenvectors of symmetric 2x2 matrix.

Returns:
GAN_TRUE on success, GAN_FALSE on failure.
Computes the eigenvalues and, optionally, the eigenvectors of a symmetric 2x2 input matrix A, i.e. computing diagonal matrix W as the eigenvalues W, and orthogonal matrix of eigenvectors Z such that

If Z is passed as NULL then the eigenvectors are not computed.

NOTE: the contents of A are NOT destroyed.

The eigenvalues W are provided in ascending order.


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