table - unary ufuncs function description absfabs compute the absolute value element-wise for integerfloating pointor complex values use fabs as faster alternative for non-complex-valued data sqrt compute the square root of each element equivalent to arr * square compute the square of each element equivalent to arr * exp compute the exponent ex of each element loglog log log natural logarithm (base )log base log base and log( )respectively sign compute the sign of each element (positive) (zero)or - (negativeceil compute the ceiling of each elementi the smallest integer greater than or equal to each element floor compute the floor of each elementi the largest integer less than or equal to each element rint round elements to the nearest integerpreserving the dtype modf return fractional and integral parts of array as separate array isnan return boolean array indicating whether each value is nan (not numberisfiniteisinf return boolean array indicating whether each element is finite (non-infnon-nanor infiniterespectively coscoshsinsinhtantanh regular and hyperbolic trigonometric functions arccosarccosharcsinarcsinharctanarctanh inverse trigonometric functions logical_not compute truth value of not element-wise equivalent to -arr table - binary universal functions function description add add corresponding elements in arrays subtract subtract elements in second array from first array multiply multiply array elements dividefloor_divide divide or floor divide (truncating the remainderpower raise elements in first array to powers indicated in second array maximumfmax element-wise maximum fmax ignores nan minimumfmin element-wise minimum fmin ignores nan mod element-wise modulus (remainder of divisioncopysign copy sign of values in second argument to values in first argument numpy basicsarrays and vectorized computation www it-ebooks info