Re: [Lapackpp-devel] Memory assignment in LaSymmMatDouble
Status: Beta
Brought to you by:
cstim
From: Christian S. <sti...@tu...> - 2006-11-14 15:40:14
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear Dominik, Dominik Wagenfuehr schrieb: > assigning a matrix per LaGenMatDouble or LaSymmMatDouble does not have > any effect to memory savings because the constructor of the symmetric > matrix will only call the standard constructor of a general matrix. Why > do you choose this approach? You can save some (or better half of the) > memory you use yet. yes, that's true, the LaSymmMatDouble doesn't store its matrix content any different than LaGenMatDouble (although it accesses only half of the memory). This approach was chosen by the original authors of the lapackpp-1.x code and this code has never been touched or improved by myself. You can see that by the fact that there is almost zero documentation comments in the header file. I've only worked on those classes where you have a lot of comments in the header file. So if you think those other classes are badly designed or even contain errors, then the blame goes on the original authors. If you want to use that part of lapackpp and you think the class should be changed, then feel free to propose a code change. Simply submit a patch here, ideally together with a test case that demonstrates that your code delivers correct calculations. In terms of the storage decision, IMHO the matrix should be stored in the same way as the Fortran-LAPACK expects it. I'm not an expert for sparse or symmetric matrices in LAPACK (only for dense ones), so I rather don't touch this part of the code. But if you have any suggestion, feel free to go ahead with this. > PS: Your archive > http://sourceforge.net/mailarchive/forum.php?forum=lapackpp-devel seems > to be down sometimes. I only get Internal Error 500... I hope the > subscription will work. The subscription obviously worked. I know that the link to the archive on sourceforge is broken and I have no idea why they don't fix it. :-( Christian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBRVnjUWXAi+BfhivFAQKd2QP/dbq9q4uHRn+Frd7rOOpEK1Md3281cKIh MuanfyVWa8h4v4EzyeOzCS1IWcnHHxc4bJlQasagyDPILqAT79VTjTENQvsAJpaa c2LmW5EHw1l6+xhYKBp1/3keIXFGhNukpWCUu+W7ArdJUx7QPjQ5YIDng3M+L6qP /DCmoa8Zu0Y= =o3Uk -----END PGP SIGNATURE----- |