how to calculate matrix inverse

how to calculate matrix inverse 100 x 100...1.must generate random matrix number2.the answer of that matrix must write in file.txt or file.dat and can read that matrix again using that file
[210 byte] By [sockshoesa] at [2007-11-26 22:50:21]
# 1

> how to calculate matrix inverse 100 x 100...

Short answer: you don't.

Longer answer: instead of calculating an explicit (numerically very

unstable) inverse of a matrix A you calculate PA= LU where P is a

row permutation matrix, L and U are lower and upper triangular

matrixes respectively and L has just 1s on its main diagonal.

Google for LUP decomposition.

kind regards,

Jos

JosAHa at 2007-7-10 12:11:32 > top of Java-index,Java Essentials,Java Programming...
# 2
http://math.nist.gov/javanumerics/jama/
Lokoa at 2007-7-10 12:11:32 > top of Java-index,Java Essentials,Java Programming...