NumPy is a Python package which stands for ‘Numerical Python’. It is the core libraryfor scientific computing, which contains a powerful n-imensional array object, providetools for integrating C, C++ etc.
In this page, we have written some numpy tutorials and examples, you can lean how to use numpy easily.
In this tutorial, we write an example to show how to calculate dot product of two vectors in numpy, we should use np.dot() function and can not use * operation. You can learn how to do by following our tutorial.
In this tutorial, we introduce how to flatten a matrix in numpy, we use two methods: ndarray.flatten() and numpy.reshape() function, you can learn how to do by following our tutorial.