Notes in Python - numpy & scipy

To Subscribe, use this Key


Status Last Update Fields
Published 05/03/2024 np.roll()
Published 05/03/2024 Create  a numpy arrray with 1, 2, 3, 4
Published 05/03/2024 Create an array with: (1.5,2,3) (4,5,6) 
Published 05/03/2024 get 10 samples from a normal distribution with (0,1)
Published 05/03/2024 What are the dimensions of:import numpy as npy = np.array([[0.0, 1, 2, 3, 4], [5, 6, 7, 8, 9]])
Published 05/03/2024 Force y to be floatdata type import numpy as npx = np.array([[0.0, 1, 2, 3, 4], [5, 6, 7, 8, 9]])y = x
Published 05/03/2024 initialize a 2x2x2 arrray with zero
Published 05/03/2024 Get 1st columnimport numpy as npy = np.array([[0, 1, 2, 3, 4], [5, 6, 7, 8, 9]])
Published 05/03/2024 Get the 6th overall elementy = reshape(arange(25.0),(5,5))
Published 05/03/2024 Repeat y 5 times using tiley = [1, 2, 3]
Published 05/03/2024 calculate the correlation between [1, 2], [2, 4]
Published 05/03/2024 broadcasting
Published 05/03/2024 Linear algebra functions
Published 05/03/2024 Find the inverse of a square matrix
Published 05/03/2024 Solve a linear system of equation
Published 05/03/2024 Solve a banded linear system
Published 05/03/2024 Solve a Hermitian or symmetric banded system
Published 05/03/2024 Solve a triangular matrix
Published 05/03/2024 Find the determinant of a square matrix
Published 05/03/2024 Matrix and vector norm
Published 05/03/2024 Solve a linear least-squares problem
Published 05/03/2024 Pseudo-inverse (Moore-Penrose) using lstsq
Published 05/03/2024 Pseudo-inverse using svd
Published 05/03/2024 Pseudo-inverse of hermitian matrix
Published 05/03/2024 Kronecker product of two arrays
Published 05/03/2024 Construct a lower-triangular matrix from a given matrix
Published 05/03/2024 Construct an upper-triangular matrix from a given matrix
Published 05/03/2024 Solve an orthogonal Procrustes problem
Published 05/03/2024 np.vstack
Published 05/03/2024 np.hstack
Published 05/03/2024 What does argsort do?What does this return?x = numpy.array([1.48,1.41,0.0,0.1])
Published 05/03/2024 What does ravel?
Published 05/03/2024 What is the difference between np.arange and np.linspace?
Status Last Update Fields