Skip to Content
Scientific Computing with Python - Second Edition
book

Scientific Computing with Python - Second Edition

by Claus Führer, Claus Fuhrer, Jan Erik Solem, Olivier Verdier
July 2021
Intermediate to advanced
392 pages
9h 40m
English
Packt Publishing
Content preview from Scientific Computing with Python - Second Edition
Comprehensive Examples

In this chapter, we will present some comprehensive and longer examples together with a brief introduction to the theoretical background and the examples' complete implementation. Here, we want to show you how the concepts defined in this book are used in practice.

The following topics are covered in this chapter:

  • Polynomials 
  • The polynomial class
  • Spectral clustering
  • Solving initial value problems

19.1 Polynomials

First, we will demonstrate the power of the Python constructs presented so far by designing a class for polynomials. 

Note that this class differs conceptually from the class numpy.poly1d.

 We will give some theoretical background, which will lead us to a list of requirements, and then we will give the code, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Scientific Computing with Python 3

Scientific Computing with Python 3

Claus Führer, Claus Fuhrer, Jan Erik Solem, Olivier Verdier
Mastering Numerical Computing with NumPy

Mastering Numerical Computing with NumPy

Umit Mert Cakmak, Tiago Antao, Mert Cuhadaroglu

Publisher Resources

ISBN: 9781838822323Supplemental Content