Registered Member
|
Hi,
I have a matrix of 48000 rows by 1700 columns (everything is rowMajor) when I do MYMATRIX.transposeInPlace() it crashes. Why could this happen ? is this because its too big ? Best, Mehrdad |
Registered Member
|
I forgot to mention that I used the latest development branch under windows 32 bit, and this function has worked ok for smaller matrices.
|
Registered Member
|
I recommend that you compile with exceptions enabled and put a try { ... } catch around that. If the reason for your crash is that memory allocation failes, that way you'll be able to catch it.
Join us on Eigen's IRC channel: #eigen on irc.freenode.net
Have a serious interest in Eigen? Then join the mailing list! |
Moderator
|
that might likely be the case because currently for rectangular matrices transposeInplace is just a shortcut for m = m.transpose().eval() and so it creates a temporary, and in your case a very big one! Implementing a true inplace transpose for rectangular objects is doable but very tricky!
|
Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft