home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l460 / 2.ddi / MATFUN.DI$ / LU.M < prev    next >
Encoding:
Text File  |  1993-03-07  |  521 b   |  15 lines

  1. %LU      Factors from Gaussian elimination.
  2. %    [L,U] = LU(X) stores a upper triangular matrix in U and a
  3. %    "psychologically lower triangular matrix", i.e. a product
  4. %    of lower triangular and permutation matrices, in L , so
  5. %    that X = L*U.
  6. %
  7. %     [L,U,P] = LU(X) returns lower triangular matrix L, upper
  8. %     triangular matrix U, and permutation matrix P so that
  9. %     P*X = L*U.
  10. %
  11. %    By itself, LU(X) returns the output from LINPACK'S ZGEFA routine.
  12.  
  13. %    Copyright (c) 1984-93 by The MathWorks, Inc.
  14. %    Built-in function.
  15.