# MATRIX INVERSION algorithm

Status
Not open for further replies.

##### Full Member level 2
any one have any algorithm for inversion of nxn matrix ?
Thanks

terrorruban

### terrorruban

Points: 2

Just see this

Points: 2

#### FvM

Staff member

Points: 2

##### Full Member level 2
thanks for attention but I want to say that I know how get ineversion of matrics but i want to know best algorithm till i use this algorithm for write VHDL code ...
so now what's your point .. which algorith is better .
Thank you ...

- - - Updated - - -

For NxN matrix

john1990

### john1990

Points: 2

#### The Electrician

##### Full Member level 5
Writing good computer codes for linear algebra functions (such as matrix inversion) involves many subtleties such as considerations of stability, error propagation, etc. Much work has already done on this subject, and you should probably use already existing software for the purpose.

See:

https://en.wikipedia.org/wiki/Netlib

https://www.netlib.org/index.html

Points: 2

#### john1990

##### Newbie level 2
CAN U explain more ? how ? I CAN'T Understand ?

#### The Electrician

##### Full Member level 5
What don't you understand?

john1990

### john1990

Points: 2

#### john1990

##### Newbie level 2
WHICH algorithm it's easier and optimum for verilog OR Vhdl ?

##### Full Member level 2
I think use A = L U .. that L and U it's triangular matrix it's better . This is my opinon . but any one that have better way plz tell

Last edited:
john1990

### john1990

Points: 2

#### aupa

##### Member level 3
The Gaussian elimination technique it's easy to work with, and if you also want more stability you may use Gaussian elimination with pivoting and scaling technique

Points: 2

Points: 2