On Fri, Apr 13, 2012 at 17:38, Zhenglun (Alan) Wei <zhenglun.wei at gmail.com>wrote:
> 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. 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120413/13427abf/attachment.htm>
