|Sparse matrix solver with complex values
|Page 1 of 1|
|Author:||kimmosto [ Tue Jun 05, 2018 6:22 pm ]|
|Post subject:||Sparse matrix solver with complex values|
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?
|Author:||kimmosto [ Sun Jun 10, 2018 6:55 pm ]|
|Post subject:||Re: Sparse matrix solver with complex values|
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.
|Page 1 of 1||All times are UTC|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group