NumPy 1.5
Beginner's Guide
An acon-packed guide for the easy-to-use, high
performance, Python based free open source NumPy
mathemacal library using real-world examples
Ivan Idris
BIRMINGHAM - MUMBAI
NumPy 1.5
Beginner's Guide
Copyright © 2011 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system,
or transmied in any form or by any means, without the prior wrien permission of the
publisher, except in the case of brief quotaons embedded in crical arcles or reviews.
Every eort has been made in the preparaon of this book to ensure the accuracy of the
informaon presented. However, the informaon contained in this book is sold without
warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers
and distributors will be held liable for any damages caused or alleged to be caused directly
or indirectly by this book.
Packt Publishing has endeavored to provide trademark informaon about all of the
companies and products menoned in this book by the appropriate use of capitals.
However, Packt Publishing cannot guarantee the accuracy of this informaon.
First published: November 2011
Producon Reference: 1311011
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-84951-530-6
www.packtpub.com
Cover Image by Asher Wishkerman (wishkerman@hotmail.com)
Credits
Author
Ivan Idris
Reviewers
Lorenzo Bolla
Seth Brown
John Douglas
Finn Arup Nielsen
Ryan R. Rosario
Stefan Schere
Senior Acquision Editor
Usha Iyer
Development Editor
Hyacintha D'Souza
Technical Editors
Apoorva Bolar
Aaron Rosario
Copy Editor
Brandt D'Mello
Project Coordinator
Srimoyee Ghoshal
Proofreader
Stephen Swaney
Indexer
Tejal Daruwale
Graphics
Valenna D'silva
Producon Coordinator
Aparna Bhagat
Cover Work
Aparna Bhagat
About the Author
Ivan Idris has a degree in Experimental Physics and several cercaons (SCJP, SCWCD and
other). His graduaon thesis had a strong emphasis on Applied Computer Science. Aer
graduang, Ivan worked for several companies as Java developer, Datawarehouse developer,
and Test Analyst.
More informaon and a blog with a few NumPy examples can be found on
ivanidris.net
I would like to take this opportunity to thank the reviewers and the team at
Packt for making this book possible.
Also, thanks goes to my teachers, professors and colleagues who taught me
about science and programming.
Last, but not least; I would like to acknowledge my parents, family, and
friends for their support.