lminvert(3)

LIBRARY ROUTINE
lminvert - compute the inverse of a real or complex matrix

LIBRARY CALL
#include "vinclude.h"
int lminvert(image)
    struct xvimage *image;

INPUT

image
    an image containing one or more square matrices (one per band) of any data type.

OUTPUT

iamge
    double or double complex image containing the inverses of the input image's matrices.

Return Value:
    1 on success, 0 on failure.

MODIFICATIONS

Jeremy Worley Tue Feb 25 00:53:13 MST 1992
    arguments rows and cols to linvert() were explicitly declared and functions in lminvert() were explicitly declared.

DESCRIPTION
computes the inverse of a real or complex matrix by generating the row equivelant lower and upper triangular matrix factors and estimating its condition. If the condition is greater than zero, then the LU factorization is used to compute the inverse.
This routine can take in a matrix of any data type and will perform the inverse in double precision. The output is double or double complex.

SEE ALSO
minvert(1), intro(3), vipl(3), verror(3), vutils(3)

RESTRICTIONS
the input matrix must be square

AUTHOR
Jeremy Worley

COPYRIGHT
Copyright 1992, University of New Mexico. All rights reserved.