Element-wise operations are faster in python(through numpy) and matlab (./) than using a for-loop. They use BLAS/LAPAC for this, i think.
Currently im using a for-loop for iterating through a slice. Is it possible to get element-wise operations for slices? Will it be faster then?