Calculate the absolute value element-wise.
x : array_like
Input array.
absolute : ndarray
An ndarray containing the absolute value of each element in x. For complex input, a + ib, the absolute value is .
Examples
numpy.square
numpy.fabs
Enter search terms or a module, class or function name.