NumPy Cookbook

Ivan Idris

  • 出版商: Packt Publishing
  • 出版日期: 2012-10-28
  • 售價: $1,940
  • 貴賓價: 9.5$1,843
  • 語言: 英文
  • 頁數: 226
  • 裝訂: Paperback
  • ISBN: 1849518920
  • ISBN-13: 9781849518925
  • 相關分類: Python
  • 下單後立即進貨 (約3~4週)

商品描述

Over 70 interesting recipes for learning the Python open source mathematical library, NumPy

Overview

  • Do high performance calculations with clean and efficient NumPy code
  • Analyze large sets of data with statistical functions
  • Execute complex linear algebra and mathematical computations

In Detail

Today's world of science and technology is all about speed and flexibility. When it comes to scientific computing, NumPy is on the top of the list. NumPy will give you both speed and high productivity.

"NumPy Cookbook" will teach you all about NumPy, a leading scientific computing library. NumPy replaces a lot of the functionality of Matlab and Mathematica, but in contrast to those products, it is free and open source.

"Numpy Cookbook" will teach you to write readable, efficient, and fast code that is as close to the language of Mathematics as much as possible with the cutting edge open source NumPy software library.

You will learn about installing and using NumPy and related concepts. At the end of the book, we will explore related scientific computing projects.

This book will give you a solid foundation in NumPy arrays and universal functions. You will also learn about plotting with Matplotlib and the related SciPy project through examples.

"NumPy Cookbook" will help you to be productive with NumPy and write clean and fast code.

What you will learn from this book

  • Learn advanced Indexing and linear algebra
  • Know reshaping automatically
  • Dive into Broadcasting and Histograms
  • Profile NumPy code and visualize your profiling results
  • Speed up your code with Cython
  • Use the array interface to expose foreign memory to NumPy
  • Use universal functions and interoperability features
  • Learn about Matplotlib and Scipy which is often used in conjunction with Numpy

Approach

Written in Cookbook style, the code examples will take your Numpy skills to the next level.

Who this book is written for

This book will take Python developers with basic Numpy skills to the next level through some practical recipes.

商品描述(中文翻譯)

超過70個有趣的食譜,幫助您學習Python開源數學庫NumPy

概述
- 使用乾淨且高效的NumPy代碼進行高性能計算
- 利用統計函數分析大量數據集
- 執行複雜的線性代數和數學計算

詳細內容
當今的科學與技術世界講求速度與靈活性。在科學計算方面,NumPy位居首位。NumPy將為您提供速度和高生產力。

《NumPy Cookbook》將教您有關NumPy的所有知識,這是一個領先的科學計算庫。NumPy取代了許多Matlab和Mathematica的功能,但與這些產品相比,它是免費且開源的。

《NumPy Cookbook》將教您編寫可讀性高、高效且快速的代碼,盡可能接近數學語言,並使用尖端的開源NumPy軟體庫。

您將學習如何安裝和使用NumPy及相關概念。在書的最後,我們將探討相關的科學計算專案。

本書將為您提供NumPy陣列和通用函數的堅實基礎。您還將通過範例學習如何使用Matplotlib進行繪圖以及相關的SciPy專案。

《NumPy Cookbook》將幫助您提高使用NumPy的生產力,並編寫乾淨且快速的代碼。

您將從本書中學到的內容
- 學習進階索引和線性代數
- 知道如何自動重塑
- 深入了解廣播和直方圖
- 對NumPy代碼進行性能分析並可視化您的分析結果
- 使用Cython加速您的代碼
- 使用陣列介面將外部記憶體暴露給NumPy
- 使用通用函數和互操作性功能
- 了解Matplotlib和SciPy,這些通常與NumPy一起使用

方法
本書以食譜風格撰寫,代碼範例將提升您的NumPy技能到一個新層次。

本書的讀者對象
本書將幫助具備基本NumPy技能的Python開發者通過一些實用的食譜提升到更高的水平。