numpy.logspace() It creates an array by using the numbers that are evenly separated on a log scale. Syntax numpy.logspace(start, stop, num, endpoint,…
Numpy Tutorial


numpy.matlib.empty() This function is used to return a new matrix with the uninitialized entries. Syntax numpy.matlib.empty(shape,dtype,order) Parameters It accepts the following parameters.…

Numpy rint() This function is used to round the array elements to the nearest integer. Syntax numpy.rint(array) Parameters array: Array elements whose…

numpy.matlib.eye() This function returns a matrix with the diagonal elements initialized to 1 and zero elsewhere. Syntax numpy.matlib.eye(n, m, k, dtype) Parameters…

numpy.save() in Python The numpy module of Python provides a function called numpy.save() to save an array into a binary file in…

numpy.matlib.identity() This function is used to return an identity matrix of the given size. An identity matrix is the one with diagonal…

numpy.sort in Python In some cases, we require a sorted array for computation. For this purpose, the numpy module of Python provides…

numpy.matlib.ones() This function is used to return a new matrix with the values initialized to ones. Syntax numpy.matlib.ones(shape,dtype,order) Parameters It accepts the…

NumPy Sorting and Searching Numpy provides a variety of functions for sorting and searching. There are various sorting algorithms like quicksort, merge…

numpy.matlib.zeros() This function is used to return a new matrix with the values initialized to zeros. Syntax numpy.matlib.zeros(shape,dtype,order) Parameters It accepts the…