A universal function is a function that returns the result of an operation on each element of an ndarray array.
Function with one argument
-Np.abs () that returns the absolute value of the element · Np.exp () returns the power of the element ee (base of natural logarithm) · Np.sqrt () etc. which returns the square root of the element
Function with two arguments
-Np.add () that returns the sum of elements -Np.subtract () that returns the difference between elements -Np.maximum () etc. that returns an array that stores the maximum value of each element
Recommended Posts