home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
unix
/
volume10
/
ifp
/
part01
/
fproot
/
math
/
linear
/
LU
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS
UTF-8
Wrap
Text File
|
1987-07-05
|
415 b
|
27 lines
(*
* LU
*
* [L,U] decomposition of matrix written as single function.
* This function is functionally identical to [L,U]
*)
DEF LU AS
IF Singleton THEN [#<<1.0>>,id] (* definition of L *)
ELSE
[
Li1,
Aik | [EACH #0 END,LU],
U1k
] |
[
[
1,
2 | [1,2|1] | apndl
] | ApndlCol,
[
3,
2 | [1,2|2] | ApndlCol
] | apndl
]
END;