Say I have an array with come results of a computation, and I have to do 
this computation many times. I want to use the memory I've already 
allocated, but I want to start from zero. Is the best way to zero an array:

A = rand(3000,3000)
A[:] = 0.

Or is there a better way?

Patrick

Reply via email to