Chapter 6. Moving Further with NumPy Modules

NumPy has a number of modules inherited from its predecessor, Numeric. Some of these packages have a SciPy counterpart, which may have fuller functionality. We will discuss SciPy in a later chapter.

In this chapter, we will cover the following topics:

  • The linalg package
  • The fft package
  • Random numbers
  • Continuous and discrete distributions

Linear algebra

Linear algebra is an important branch of mathematics. The numpy.linalg package contains linear algebra functions. With this module, you can invert matrices, calculate eigenvalues, solve linear equations, and determine determinants, among other things (see http://docs.scipy.org/doc/numpy/reference/routines.linalg.html).

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset