lmlud(3)

LIBRARY ROUTINE
lmlud - compute the LU decomposition of a matrix

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

INPUT

image
    real or complex matrix.

OUTPUT

image
    real or complex matrix containing the lower triangular of the LU decomposition of the input matrix.

uimage
    real or complex matrix containing the upper triangular of the LU decomposition of the input matrix.

Return Value:
    1 on success, 0 on failure.

MODIFICATIONS

Jeremy Worley Tue Feb 25 00:56:55 MST 1992
    arguments rows and cols to llud() were explicitly declared and functions called in lmlud() were explicitly declared.

DESCRIPTION
computes the LU decomposition of a matrix by gaussian elimination. If A is the input matrix, this program will solve the system L*U = A for the L and U matrices. U is an upper triangular matrix, and L "nearly" lower diagonal.

SEE ALSO
mlud(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.