forum.alglib.net
http://forum.alglib.net/

How to assign large memory for ap::real_2d_array?
http://forum.alglib.net/viewtopic.php?f=2&t=19
Page 1 of 1

Author:  franziss [ Sat Jun 05, 2010 6:36 am ]
Post subject:  How to assign large memory for ap::real_2d_array?

I am using the function smatrixevd to calculate the eigenvectors of a large symmetric matrix ap::real_2d_array M, where its size is 10000 x 10000.

But when I set M.setlength(10000,10000), I have errors. Can I set M to be a upper triangular matrix? So that memory space will not be exceeded?

Thank you for your help. :D

Author:  Sergey.Bochkanov [ Sun Jun 06, 2010 9:50 am ]
Post subject:  Re: How to assign large memory for ap::real_2d_array?

Quote:
Can I set M to be a upper triangular matrix? So that memory space will not be exceeded?

Unfortunately, no. I have to rewrite linear algebra algorithms from scratch if I want them to be efficient enough on packed matrices. It will be implemented one day, but this item has low priority in my TODO list.

Author:  franziss [ Sun Jun 06, 2010 12:06 pm ]
Post subject:  Re: How to assign large memory for ap::real_2d_array?

oic, I will wait for your new version. I am a big fan of ALGLIB, thank you very much for sharing it. =)

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/