Numpy
Gives functions for working with multidimensional arrays.
Numpy arrays have
1)Rank
2)Shape (given by dim of vector)
Numpy arrays can be created like:
a=np.array([1,2,3],[2,3,4]) #with initialize
a=np.zeros(2,2) / np.ones(2,2) / np.random.random(4,4)
Gives functions for working with multidimensional arrays.
Numpy arrays have
1)Rank
2)Shape (given by dim of vector)
Numpy arrays can be created like:
a=np.array([1,2,3],[2,3,4]) #with initialize
a=np.zeros(2,2) / np.ones(2,2) / np.random.random(4,4)
Comments
Post a Comment