Posted by Massimo Gaspari on January 09, 1998 at 08:37:59:

In Reply to: Matrix decomposition posted by A. Brown on January 08, 1998 at 10:56:46:

: I need a C function to calculate all eigenvalues

: and eigenvectors of a small real non-symmetric matrix.

: Can anyone recommend the best method to use. Thanks.

You may use several source code from netlib. For example

EISPACK is simple to use. Eispack was written in fortran but

you may translate the whole package using the program f2c.

F2c, another good program in the netlib archive, is used

to translate strictly F77 to C.

You have to build the f2c from the C-source (easy task).

The rg.f ( and related subroutines ) is the code for the

eigenvalues and eigenvectors of real general matrix.

There are other packages for linear algebra as: Lapack (fortran)

or clapack (translated from fortran using f2c), slatec ....)

You may also check in c/meschach for c routines.

If you chose to use eispack I have the full package already

translated, feel free to email (gaspari@tin.it) .

Bye Massimo

- Matrix decomposition
**Nur***18:08:40 9/20/98*(0)