<div class="gmail_quote">On Fri, Apr 13, 2012 at 17:38, Zhenglun (Alan) Wei <span dir="ltr"><<a href="mailto:zhenglun.wei@gmail.com">zhenglun.wei@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have a final question on it. Is it taken a lot of memory for
doing this? As I understand, pointers won't occupy many memories and
it works like an alias. It will not, to my limit knowledge, take
much extra memory by doing this. </blockquote></div><br><div>A pointer takes about as much space as a floating point value, so that array of pointers costs about 1*N compared to the N*N matrix.</div>