abs

abs(x)[source]

Calculates the absolute value of a number or array.