flat assembler
Message board for the users of flat assembler.

Index > Windows > [Sharing] - Solving a system of linear equations (Ax=b)

Author
Thread Post new topic Reply to topic
ctl3d32



Joined: 30 Dec 2009
Posts: 204
Location: Brazil
ctl3d32
Hi folks!

This is an update.

I'm sharing this little program that solves a system of linear equations of the form (A.x=b) through LU decomposition (Doolittle's method).

A, L and U have dimension of (nxn).
b, y and x have dimension of (nx1).

LUsolve.asm is a dll with the procs.
LU.asm defines the matrixes and call the dll to solve (A.x=b), i.e., find x.

The solution will be written in file "matrix.txt".

P.S.: Uses SSE2 instructions.

Thanks,
ctl3d32


Description: .EXE
Download
Filename: LU.ASM
Filesize: 3.17 KB
Downloaded: 42 Time(s)

Description: .DLL
Download
Filename: LUsolve.ASM
Filesize: 13.8 KB
Downloaded: 31 Time(s)

Post 11 Jan 2011, 00:41
View user's profile Send private message Reply with quote
ctl3d32



Joined: 30 Dec 2009
Posts: 204
Location: Brazil
ctl3d32
Thread and files updated!
Post 17 Jan 2011, 00:17
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2140
Location: Estonia
Madis731
The composition of the code is beautiful. I like the DLL approach to hide all the grease and the engine and the piston Smile
Post 17 Jan 2011, 08:01
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
ctl3d32



Joined: 30 Dec 2009
Posts: 204
Location: Brazil
ctl3d32
Thanks! Smile
Post 17 Jan 2011, 13:05
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.