Abstract
The extension to Python, NumPy, that enables fast calculations using matrices, vectors, and similar containers is detailed. We discuss the creation of objects in NumPy, manipulating them, and applying mathematical functions to them. We also demonstrate operator overloading, complex arithmetic, indexing, and iterating using NumPy objects. All of these concepts are illustrated using worked examples. To make scientific figures and plots the module Matplotlib is introduced. This toolkit has similar syntax to the plotting tools of Matlab. Several examples of plots and their customization is shown using Python codes.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
More From: Computational Nuclear Engineering and Radiological Science Using Python™
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.