Hello, I just discover abs2() function :v
And I have to say that i'm really surprised that: sqrt(abs2( x )) is quicker than abs( x ) For a Matrix of size 512*512 and then a vector of size 512 10000 realizations, the mean results are (on a macbook): abs(x[:,:]) 0.0073665214096 sqrt(abs2(x[:,:])) 0.0046861180318999995 abs(x[:]) 1.2221291200000001e-5 sqrt(abs2(x[:])) 1.15177585e-5 Regards