forum.alglib.net

ALGLIB forum
It is currently Thu Mar 28, 2024 7:20 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.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Solving systems of linear equations
PostPosted: Tue May 25, 2010 8:02 am 
Offline

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
 Profile  
 
 Post subject: Re: Solving systems of linear equations
PostPosted: Tue May 25, 2010 8:45 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 903
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
 Profile  
 
 Post subject: Re: Solving systems of linear equations
PostPosted: Thu May 07, 2015 6:19 am 
Offline

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
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 45 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group