Next: LA_GEESX
Up: Examples
Previous: Example 1 (from Program
  Contents
  Index
Matrix
as in Example 1.
Function SELECT is:
LOGICAL FUNCTION SELECT(X,Y)
USE LA_PRECISION, ONLY: WP
wp
INTRINSIC EPSILON
REAL(WP), INTENT(IN) :: X,Y
! Select the real eigenvalues
! within the working precision
IF (ABS(Y)
EPSILON(1.0_WP)) THEN
SELECT = .TRUE.
ELSE
SELECT = .FALSE.
END IF
END FUNCTION SELECT
The call:
CALL LA_GEES( A, WR, WI, VS, SELECT, SDIM, INFO )
,
,
,
,
, and
on exit:
The real-Schur form
, the matrix of Schur vectors
, and the
eigenvalues of matrix
are:
and
Next: LA_GEESX
Up: Examples
Previous: Example 1 (from Program
  Contents
  Index
Susan Blackford
2001-08-19