MATRIX (kmatrix) functions


LIBRARY ROUTINE

lmeigen - compute eigenvectors and eigenvalues

LIBRARY CALL

int lmeigen(
kobject in_obj,
kobject evec_obj,
kobject eval_obj)

INPUT

none

OUTPUT

RETURN VALUE

TRUE (1) on success, FALSE (0) otherwise

DESCRIPTION

lmeigen computes the eigenvectors and eigenvalues of a square matrix. The matrix is NOT required to be symmetric.

All output is in double complex form for generality.

If the eigenvalues are complex, then they will occur in complex conjugate pairs.

The eignenvectors are normalized to have a unit Euclidian norm and a purely real largest component.

lmeigen uses the ZGEEV routine from LAPACK to actually obtain the decomposition.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

All output is of type double complex.

MODIFICATION

none

FILES

$MATRIX/objects/library/kmatrix/src/lmeigen.c

SEE ALSO

kmatrix(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.