Scientific Computing with Python 3

Claus Fuhrer, Jan Erik Solem, Olivier Verdier

商品描述

Key Features

  • Your ultimate resource for getting up and running with Python numerical computations
  • Explore numerical computing and mathematical libraries using Python 3.x code with SciPy and NumPy modules
  • A hands-on guide to implementing mathematics with Python, with complete coverage of all the key concepts

Book Description

Python can be used for more than just general-purpose programming. It is a free, open source language and environment that has tremendous potential for use within the domain of scientific computing. This book presents Python in tight connection with mathematical applications and demonstrates how to use various concepts in Python for computing purposes, including examples with the latest version of Python 3. Python is an effective tool to use when coupling scientific computing and mathematics and this book will teach you how to use it for linear algebra, arrays, plotting, iterating, functions, polynomials, and much more.

What you will learn

  • The principal syntactical elements of Python
  • The most important and basic types in Python
  • The essential building blocks of computational mathematics, linear algebra, and related Python objects
  • Plot in Python using matplotlib to create high quality figures and graphics to draw and visualize your results
  • Define and use functions and learn to treat them as objects
  • How and when to correctly apply object-oriented programming for scientific computing in Python
  • Handle exceptions, which are an important part of writing reliable and usable code
  • Two aspects of testing for scientific programming: Manual and Automatic

About the Author

Claus Führer is a professor of scientific computations at Lund University, Sweden. He has an extensive teaching record that includes intensive programming courses in numerical analysis and engineering mathematics across various levels in many different countries and teaching environments. Claus also develops numerical software in research collaboration with industry and received Lund University’s Faculty of Engineering Best Teacher Award in 2016.

Jan Erik Solem is a Python enthusiast, former associate professor, and currently the CEO of Mapillary, a street imagery computer vision company. He has previously worked as a face recognition expert, founder and CTO of Polar Rose, and computer vision team leader at Apple. Jan is a World Economic Forum technology pioneer and won the Best Nordic Thesis Award 2005-2006 for his dissertation on image analysis and pattern recognition. He is also the author of "Programming Computer Vision with Python" (O'Reilly 2012).

Olivier Verdier began using Python for scientific computing back in 2007 and received a PhD in mathematics from Lund University in 2009. He has held post-doctoral positions in Cologne, Trondheim, Bergen, and Umeå and is now an associate professor of mathematics at Bergen University College, Norway.

Table of Contents

  1. Getting Started
  2. Variables and Basic Types
  3. Container Types
  4. Linear Algebra – Arrays
  5. Advanced Array Concepts
  6. Plotting
  7. Functions
  8. Classes
  9. Iterating
  10. Error Handling
  11. Namespaces, Scopes, and Modules
  12. Input and Output
  13. Testing
  14. Comprehensive Examples
  15. Symbolic Computations - SymPy
  16. References

商品描述(中文翻譯)

主要特點


  • 您學習和運用Python進行數值計算的最佳資源

  • 使用Python 3.x代碼和SciPy、NumPy模組探索數值計算和數學庫

  • 實踐Python數學應用的實用指南,完整涵蓋所有關鍵概念

書籍描述

Python不僅僅用於通用程式設計,它是一種免費、開源的語言和環境,在科學計算領域有巨大的潛力。本書將Python與數學應用緊密結合,演示如何使用Python中的各種概念進行計算,包括最新版本的Python 3。Python是將科學計算和數學結合的有效工具,本書將教您如何在線性代數、數組、繪圖、迭代、函數、多項式等方面使用它。

您將學到什麼


  • Python的主要語法元素

  • Python中最重要和基本的類型

  • 計算數學、線性代數和相關Python對象的基本構建塊

  • 使用matplotlib在Python中繪圖,創建高質量的圖形和可視化結果

  • 定義和使用函數,並將其視為對象

  • 在科學計算中何時以及如何正確應用面向對象編程

  • 處理異常,這是編寫可靠和可用代碼的重要部分

  • 科學編程的兩個測試方面:手動和自動

關於作者

Claus Führer是瑞典隆德大學的科學計算教授。他在許多不同國家和教學環境中開設了包括數值分析和工程數學在內的密集程式設計課程。Claus還與工業界合作開發數值軟體,並於2016年獲得隆德大學工程學院最佳教師獎。

Jan Erik Solem是一位Python愛好者,前副教授,目前是街景影像計算機視覺公司Mapillary的首席執行官。他曾擔任人臉識別專家,Polar Rose創始人和首席技術官,以及蘋果公司的計算機視覺團隊負責人。Jan是世界經濟論壇的技術先驅,並因其關於圖像分析和模式識別的博士論文而獲得2005-2006年度最佳北歐論文獎。他還是《使用Python進行計算機視覺編程》(O'Reilly 2012)的作者。

Olivier Verdier於2007年開始使用Python進行科學計算,並於2009年獲得隆德大學的數學博士學位。他曾在科隆、特隆赫姆、卑爾根和烏梅奧擔任博士後職位,現在是挪威卑爾根大學學院的數學副教授。

目錄


  1. 入門

  2. 變量和基本類型

  3. 容器類型

  4. 線性代數 - 數組

  5. 高級數組概念

  6. 繪圖

  7. 函數


  8. 迭代

  9. 錯誤處理

  10. 命名空間、作用域和模組

  11. 輸入和輸出

  12. 測試

  13. 綜合示例

  14. 符號計算 - SymPy

  15. 參考資料