Search
The following packages should be used. In the code examples, we assume that they are imported with the aliases as bellow.
import numpy as np # for matrix computation and linear algebra import matplotlib.pyplot as plt # for drawing and image I/O import scipy.io as sio # for matlab file format output
When there is a matrix required as an output data, we mean matrix implemented as np.array.
np.array