forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 9:12 am

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  [ 2 posts ] 
Author Message
 Post subject: Sparse matrix solver with complex values
PostPosted: Tue Jun 05, 2018 6:22 pm 
Offline

Joined: Tue Jun 05, 2018 5:48 pm
Posts: 2
Many real life applications such as solving of electrical networks requires complex values due to reactive loads. Sparse matrix and LinCG solver has double values in matrix A and vectors x and b. I'm very interested to use this lib and algorithm because performance is about 3x better than with implementation I'm currently using in my application. I have some preliminary plans to convert double values to complex, but the job looks very hard (for me) because it is not so clear what double variables should be converted to complex and which should stay in double as a magnitude or other multiplier/merit value. sparsematrix class itself is not a problem, but at least lincgstate is. Basically everything with multiple undocumented double values. How should I proceed, or is something suitable already available?


Top
 Profile  
 
 Post subject: Re: Sparse matrix solver with complex values
PostPosted: Sun Jun 10, 2018 6:55 pm 
Offline

Joined: Tue Jun 05, 2018 5:48 pm
Posts: 2
You can forget this. Speed issue is fixed with dense matrix solver with LUP decomposition (by James McCaffrey). Improvement 15-20x compared to previous implementation. Conversion from double to Complex (System.Numerics) was piece of cake.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 54 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