MATRIX (kmatrix) functions
LIBRARY ROUTINE
lmlud - compute LU decomposition
LIBRARY CALL
int lmlud (
kobject in_obj,
kobject lt_obj,
kobject ut_obj,
kobject pi_obj)
INPUT
- in_obj - matrix to be factored
OUTPUT
- lt_obj - object to receive the lower triangular factor
kobject
- ut_obj - object to receive the upper triangular factor
kobject
- pi_obj - object to receive the pivot vector
RETURN VALUE
TRUE (1) on success, FALSE (0) on failure
DESCRIPTION
lmlud computes LU decomposition of a general matrix using
partial pivoting and row interchanges.
The L matrix is lower triangular with unit diagonal elements.
The U matrix is upper triangular. The pivot vector indicates
that the i'th row was interchanged with the row given in the
i'th value in the vector.
lmlud used the DGETRF or ZGETRF routines from LAPACK to
perform the decomposition.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$MATRIX/objects/library/kmatrix/src/lmlud.c
SEE ALSO
kmatrix(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.