HCMC University of Technology & Education
Faculty of Economic
PYTHON LANGUAGE AND
and Google Colab
Introduction to Numpy & Scipy
Mr Lê Ngọc Hiếu
HCMC, May 2022
Learning goals
• Understand about python mathematical
computation
• Understand and know how to use one of the
followings libraries
– NumPy basics
– SciPy basics
What are we going to learn?
1. Introduction to mathematic computation
2. NumPy Basics
3. SciPy Basics
4. References
Mathematical
Computation
1. Mathematical Computation
Computational mathematics involves mathematical
research in mathematics as well as in areas of science
where computation plays a central and essential role, and
emphasizes algorithms, numerical methods, and symbolic
computations.
Mathematical Computation addresses work at the
interface between applied mathematics, numerical
computation, and applications of systems – oriented ideas
to the physical, biological, social, and behavioral sciences,
and emphasizes papers of a computational nature focusing
on new algorithms, their analysis and numerical results.
1. Mathematical Computation
• Solving Equations and Systems of
Equations.
• Linear Algebra (Matrix Computation)
• Calculus
• Econometrics
• Statistics
• Numerical Optimization
• …
1. Mathematical Computation Example
1. Mathematical Computation Example
1. Mathematical Computation Example
1. Mathematical Computation Example
1. Mathematical Computation Example
1. Mathematical Computation Example
1. Mathematical Computation Example
1. Mathematical Computation Example
1. Mathematical Computation Example
1. Mathematical Computation Example
NumPy Basics
Introduction
2. NumPy
The NumPy ndarray: A Multidimensional Array Object
2. NumPy
The NumPy ndarray: A Multidimensional Array Object
2. NumPy
The NumPy ndarray: A Multidimensional Array Object
2. NumPy
The NumPy ndarray: A Multidimensional Array Object
2. NumPy
The NumPy ndarray: A Multidimensional Array Object
2. NumPy
Universal Functions: Fast Element-Wise Array Functions
2. NumPy
Universal Functions: Fast Element-Wise Array Functions
2. NumPy
Array-Oriented Programming with Arrays
2. NumPy
Array-Oriented Programming with Arrays
2. NumPy
Linear Algebra
3- SciPy
Introduction & How to use
3. SciPy basics
Special functions (scipy.special)
3. SciPy basics
Integration (scipy.integrate)
3. SciPy basics
Optimization (scipy.optimize)
3. SciPy basics
Linear Algebra (scipy.linalg)
3. SciPy basics
Linear Algebra (scipy.linalg)
3. SciPy basics
Linear Algebra (scipy.linalg)
3. SciPy basics
Linear Algebra (scipy.linalg)
3. SciPy basics
Linear Algebra (scipy.linalg)
3. SciPy basics
Statistics (scipy.stats)
3. SciPy basics
Statistics (scipy.stats)
HCMC University of Technology & Education
Faculty of Economic