[mlpack-git] [mlpack] Armadillo matrix transposition doubles memory usage for a matrix (#203)

Glazachev Vladimir notifications at github.com
Fri Feb 13 18:25:54 EST 2015


Armadillo supports in-place transpose now.

![rplot](https://cloud.githubusercontent.com/assets/3522399/6196970/92ebc60e-b3ef-11e4-9eac-eccbcc71bc66.png)
size in MB, time in seconds.
0 - transpose, using mat = mat.t();
1 - transpose, using inpalce_trans(mat). looks like the same as 0;
2 - inplace_trans(mat, "lowmem");

End memory usage snapshots:
![lowmem_transpose](https://cloud.githubusercontent.com/assets/3522399/6196968/92eb2686-b3ef-11e4-9aa7-d7bd0cff4a2c.png)
![simple_transpose](https://cloud.githubusercontent.com/assets/3522399/6196969/92eb9cc4-b3ef-11e4-9408-bd27e6c9cd9f.png)


---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/203#issuecomment-74345296
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20150213/4cc19c1e/attachment.html>


More information about the mlpack-git mailing list