Next:
Extracting the diagonal elements
Up:
A sampling of useful
Previous:
Filling a vector with
Filling a matrix with zeros
We can create a matrix with zeros using
>>> C = np.zeros((3,4)) >>> print(C) [[ 0. 0. 0. 0.] [ 0. 0. 0. 0.] [ 0. 0. 0. 0.]]
Carleton DeTar 2018-02-12