Category NumPy

How to use Numpy Convolve in Python?

Numpy Convolve

Digital electronics always rely on processing signals for their routine functioning. The support from Python extends to this part of the spectrum too! The operation of combining signals is known as convolution and Python has an exclusive function to carry…

How to Use Numpy i0 in Python?

Numpy Modified Bessel Function First Kind

This article will talk about the Numpy i0 function. The year was 1817. It was a fine evening when a German astronomer by the name of Friedrich Wilhelm Bessel was taking a closer look at the movement of planets. Well,…

How to Use Numpy Positive in Python?

Numpy Positive

This article would be covering a rather strange function within the numpy library of Python. It is so strange that at prima facie one might even question its very existence. Enter the numpy.positive( ) function! It returns the element-wise numerical…

How to Use Numpy Logaddexp2 in Python?

Numpy Logaddexp2

There are many articles in AskPython detailing the various functions that the numpy library of Python has got to offer. In this article, we shall explore one which combines the logarithmic and exponential functions to the base of 2 –…

Numpy linalg.norm – Matrix or vector norm

Numpy Linalg Norm Matrix Or Vector Norm

Normalization of the matrix is to scale the elements of the matrix in such a way that their values remain between zero and one. Depending on the order of a matrix, the function linalg.norm() returns one of the seven/eight different…