NumPy universal functions

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

NumPy universal functions
Numpy functions I learned this year
numpy practice 1
Numpy [Basic]
numpy part 1
NumPy basics
Numpy Memorandum_Matrix
numpy tips
Python functions
Built-in functions
Summary of numpy functions I didn't know
About numpy
NumPy axis
Use Numpy
Graph trigonometric functions with numpy and matplotlib
numpy part 2