Chapter 6. Move Further with NumPy Modules

NumPy has a number of modules that have been inherited from its predecessor, Numeric. Some of these packages have a SciPy counterpart, which may have fuller functionality. This will be discussed in a later chapter. The numpy.dual package contains functions that are defined both in NumPy and SciPy. The packages discussed in this chapter are also part of the numpy.dual package.

In this chapter, we shall 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.

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

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