MATRIX (kmatrix) functions


LIBRARY ROUTINE

lminvert - compute inverse of matrix

LIBRARY CALL

int lminvert(
kobject in_obj,
int diag,
kobject out_obj)

INPUT

OUTPUT

RETURN VALUE

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

DESCRIPTION

lminvert computes the inverse of matrix. If diagonal only is requested, compute 1/A(i,i); else matrix must be square and LU decomposition with backsolve is used to obtain the matrix inverse.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

none

MODIFICATION

none

FILES

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

SEE ALSO

kmatrix(3)

COPYRIGHT

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