Numpy array creation
np.array(python_list)
np.zeros(n) or np.zero(python_tuple)
np.ones(n)
np.full()
np.arange(min, max, step)
np.random.rand(n)
np.empty(n)
Numpy array indexing
arr[0] = 3.0 # if arr's dimension is > 2, then all the numbers in arr[0] will = 3.0
Numpy function
np.where(condition, x, y)
numpy operation
np.add(u, v) # u + v
np.substract(u, v) # u - v
np.divide(v, u) # v/u, there are also v//u and v%u
u * alpha # alpha is a scalar
np.multiply(u, v) # u*v, this is Hadamard product