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 discuss why numpy.var() can be inaccurate when computing matrix variance in numpy, you can learn how to compute matrix variance correctly by our this tutorial.

In this tutorial, we introduce how to calculate the average, variance and standard deviation of a matrix in numpy, they are common used in many applications, you can learn how to do by referring our tutorial.

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.