# forum.alglib.net

ALGLIB forum
 It is currently Tue Dec 06, 2022 6:27 pm

 All times are UTC

### Forum rules

1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.

 Page 1 of 1 [ 3 posts ]
 Print view Previous topic | Next topic
Author Message
 Post subject: Solving systems of linear equationsPosted: Tue May 25, 2010 8:02 am

Joined: Sun May 16, 2010 11:42 pm
Posts: 63
Am I right in thinking that the densesolver unit would have the best functions for solving systems of linear equations (which may or may not be symmetrical)?

My application (initially) will be structural analysis, i.e. systems of beams subject to known loads and/or deflections. Any hints on the best way to tackle it with the AlgLib fucntions?

_________________
Doug Jenkins
http://newtonexcelbach.wordpress.com/

Top

 Post subject: Re: Solving systems of linear equationsPosted: Tue May 25, 2010 8:45 am

Joined: Fri May 07, 2010 7:06 am
Posts: 880
Yes, densesolver will contain all new code for general/SPD linear solvers. As for symmetric indefinite solvers, situation is less clear.

ALGLIB has rudimentary support for symmetric indefinite systems (LDLT real solver), but I am unsatisfied with its performance, and I should say that it is really hard to optimize LDLT decomposition code (a lot of permutations, low rank updates - it is unsuited for almost all optimizations). It is possible, but just too hard. So I think that it is better to optimize LU-based solver and to use it for symmetric matrices. Maybe LDLT solver will be dropped in one of the following releases.

Returning to your question, I recommend to use densesolver unit for any kind of system you'll try to solve. General and indefinite systems may be solved with LU-based solver, SPD system - with Cholesky-based solver.

Top

 Post subject: Re: Solving systems of linear equationsPosted: Thu May 07, 2015 6:19 am

Joined: Tue Apr 28, 2015 5:22 am
Posts: 2
I think that it is better to optimize LU-based solver and to use it for symmetric matrices.

_________________
.

Top

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 1 of 1 [ 3 posts ]

 All times are UTC

#### Who is online

Users browsing this forum: No registered users and 1 guest

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum

Search for: