Skip to content

NumPy Math Functions

NumPy Math Functions

Below is a selection of NumPy math functions and methods divided into categories:

NumPy Statistics Fuctions and Methods

np.mean()

np.median()

np.std()

np.var()

np.erf()

NumPy Trigonometric Functions and Methods

np.pi()

np.sin()

np.cos()

np.tan()

np.arcsin()

np.arccos()

np.arctan()

np.arcsinh()

np.arccosh()

np.arctanh()

np.arctan2()

np.radians()

np.rad2deg()

np.deg2rad()

np.radians()

np.sinc()

np.sinh()

np.tanh()

np.angle()

NumPy Exponential and Logrithmic Functions and Methods

np.log()

np.log10()

np.log1p()

np.log2()

np.logaddexp()

np.logaddexp2()

np.exp()

np.exp2()

np.sqrt()

np.power()

np.e()

NumPy Matrix Creation and Manipulation Functions and Methods

np.linspace()

np.zeros()

np.ones()

np.ndarray()

np.matrix()

np.traspose()

np.size()

np.shape()

np.reshape()

np.meshgrid()

np.dot()

np.asmatrix()

np.asarray()

np.arange()

np.array()