Questions
- Q6.1.1np.ndarray and np.array
- Q6.1.2Creating a NumPy array #1
- Q6.1.3Creating a NumPy array #2
- Q6.1.4Changing the data type of an array
- Q6.1.5Indexing and slicing a NumPy array
- Q6.1.6Boolean indexing
- Q6.1.7Using np.isclose #1
- Q6.1.8Using np.isclose #2
- Q6.1.9Verifying a magic square
- Q6.1.10Determining if an array is monotonically increasing
- Q6.1.11The dtypes of scalars and arrays
- Q6.4.1Derivative of a polynomial
- Q6.4.2Classifying the stationary points of a polynomial
- Q6.5.1The unitary property of the Pauli matrices
- Q6.5.2Fitting data to a quadratic function
- Q6.6.1Using np.random.randint
- Q6.6.2Using np.random.randint to sample from a set of evenly-spaced reals
- Q6.6.3The Mega Millions lottery
- Q6.6.4Probability of misprints
- Q6.7.1Direct implementation of the discrete Fourier Transform