Category NumPy

Numpy negative – Numerical negative, element-wise.

Numpy Negative ()

The NumPy module of Python provides a method for converting the positive elements of an array to negative elements. The method is called numpy.negative(). Let’s explore the numpy.negative method in further detail. Also read: Numpy.kron(): How to Calculate Kronecker Product Using Numpy?…

NumPy ldexp: A Complete Guide

NumPy Ldexp Cover Image

Hello! In this tutorial, we are going learn about the ldexp method present in the NumPy module in Python. In our previous tutorials, we have learnt about the NumPy functions exp() and exp2(). We know that, the exp(x) function returns…

How to Use Numpy log1p in Python?

Numpy Log1p

With a series of articles in AskPython elaborating on the various functions available within the numpy library of Python, it is time to say hello to logarithms! Before getting to know about the function in Python let’s try to understand…

Numpy Exmp1: A Complete Guide

Numpy Exmp1( )

Euler’s number, also known as ‘e’, is an important mathematical constant that was named after the 18th century mathematician, Leonhard Euler. This number has been estimated to have over a trillion digits of accuracy and is an important tool in…

NumPy multiply – Illustrated in a Simple Way

NumPy Multiply

Hey everyone! Welcome to another tutorial on NumPy functions. In this tutorial, we will explore the NumPy multiply function in detail. We all do multiplication operations in our daily life. Be it our mathematics class or the calculations done by…