# Tag Archives: Python numpy-Matrix Function

## Number of rows and columns in a Matrix that contain repeated values

Given a N x N square matrix arr[][] which contains only integers between 1 and N, the task is to compute the number of rows… Read More »

## Numpy matrix.I function | Python

With the help ofnumpy.matrix.I() function we can get the multiplicative inverse of the same size as of our given matrix. Syntax : numpy.matrix.I() Return :… Read More »

## Python | Numpy np.digitize() method

With the help of np.digitize() method, we can get the indices of the bins to which the each value is belongs to an array by… Read More »

## Python | Numpy np.unique() method

With the help of np.unique() method, we can get the unique values from an array given as parameter in np.unique() method. Syntax : np.unique(Array) Return… Read More »

## Python | Numpy np.fft() method

With the help of np.fft() method, we can get the 1-D Fourier Transform by using np.fft() method. Syntax : np.fft(Array) Return : Return a series… Read More »

## Python | Numpy np.ifft() method

With the help of np.ifft() method, we can get the 1-D Inverse Fourier Transform by using np.ifft() method. Syntax : np.ifft(Array) Return : Return a… Read More »

## Python | Numpy np.fft2() method

With the help of np.fft2() method, we can get the 2-D Fourier Transform by using np.fft2() method. Syntax : np.fft2(Array) Return : Return a 2-D… Read More »

## Python | Numpy np.ifft2() method

With the help of np.ifft2() method, we can get the 2-D Inverse Fourier Transform by using np.ifft2() method. Syntax : np.fft2(Array) Return : Return a… Read More »

## Python | Numpy np.fftn() method

With the help of np.fftn() method, we can get the N-D Fourier Transform by using np.fftn() method. Syntax : np.fftn(Array) Return : Return a N-D… Read More »

## Python | Numpy np.ifftn() method

With the help of np.ifftn() method, we can get the N-D Inverse Fourier Transform by using np.fftn() method. Syntax : np.ifftn(Array) Return : Return a… Read More »

## Python | Numpy matrix.tobytes()

With the help of Numpy matrix.tobytes() method, we can find the byte code for the matrix by using the matrix.tobytes() method. Syntax : matrix.tobytes() Return… Read More »

## Python | Numpy matrix.tostring()

With the help of Numpy matrix.tostring() method, we can find the byte code in string format for the matrix by using the matrix.tostring() method. Syntax… Read More »

## Python | Numpy matrix.take()

With the help of Numpy matrix.take() method, we can select the elements from a given matrix by passing the parameter as index value of that… Read More »

## Python | Numpy matrix.tolist()

With the help of Numpy matrix.tolist() method, we are able to convert the matrix into a list by using the matrix.tolist() method. Syntax: matrix.tolist() Return… Read More »

## Python | Numpy matrix.trace()

With the help of Numpy matrix.trace() method, we can find the sum of all the elements of diagonal of a matrix by using the matrix.trace()… Read More »