Mathematica Cookbook helps you master the application's core principles by walking you through real-world problems. Ideal for browsing, this book includes recipes for working with numerics, data structures, algebraic equations, calculus, and statistics. You'll also venture into exotic territory with recipes for data visualization using 2D and 3D graphic tools, image processing, and music.
Although Mathematica 7 is a highly advanced computational platform, the recipes in this book make it accessible to everyone -- whether you're working on high school algebra, simple graphs, PhD-level computation, financial analysis, or advanced engineering models.
Learn how to use Mathematica at a higher level with functional programming and pattern matching
Delve into the rich library of functions for string and structured text manipulation
Learn how to apply the tools to physics and engineering problems
Draw on Mathematica's access to physics, chemistry, and biology data
Get techniques for solving equations in computational finance
Learn how to use Mathematica for sophisticated image processing
Process music and audio as musical notes, analog waveforms, or digital sound samples
Chapter 1 Numerics
1.0 Introduction
1.1 Controlling Precision and Accuracy
1.2 Mixing Different Numerical Types
1.3 Representing Numbers in Other Bases
1.4 Extracting the Digits of a Number
1.5 Working with Intervals
1.6 Converting Between Numerical Types
1.7 Displaying Numbers in Alternate Forms
Chapter 2 Functional Programming
2.0 Introduction
2.1 Mapping Functions with More Than One Argument
2.2 Holding Arbitrary Arguments
2.3 Creating Functions That Automatically Map Over Lists
2.4 Mapping Multiple Functions in a Single Pass
2.5 Keeping Track of the Index of Each Item As You Map
2.6 Mapping a Function over a Moving Sublist
2.7 Using Prefix and Postfix Notation to Produce More Readable Code
2.8 Defining Indexed Functions
2.9 Understanding the Use of Fold As an Alternative to Recursion
2.10 Incremental Construction of Lists
2.11 Computing Through Repeated Function Application
2.12 Building a Function Through Iteration
2.13 Exploiting Function Composition and Inverse Functions
2.14 Implementing Closures
2.15 Currying in Mathematica
2.16 Creating Functions with Default Values
2.17 Creating Functions That Accept Options
Chapter 3 Data Structures
3.0 Introduction
3.1 Ensuring the Most Efficient Representation of Numerical Lists
3.2 Sorting Lists
3.3 Determining Order Without Sorting
3.4 Extracting the Diagonals of a Matrix
3.5 Constructing Matrices of Specific Structure
3.6 Constructing Permutation and Shift Matrices
3.7 Manipulating Rows and Columns of Matrices
3.8 Using Sparse Arrays to Conserve Memory
3.9 Manipulating Deeply Nested Lists Using Functions with Level Specifications
3.10 Implementing Bit Vectors and Using Format to Customize Their Presentation
3.11 Implementing Trees and Traversals Using Lists
3.12 Implementing Ordered Associative Lookup Using a Red-Black Tree
Sal Mangano has been developing software since the days Borland Turbo C and has worked with an eclectic mix of programming languages and technologies. Sal worked on many mission-critical applications, especially in the area of financial-trading applications. In his day job, he works mostly with mainstream languages like C++ and Java so he chooses to play with more interesting technology whenever he gets a chance.
Sal's two books (XSLT Cookbook and Math Mathematica Cookbook) may seem to be an odd pair of technologies for a single author but there is a common theme that reflects his view at what makes a language powerful. Both Mathematica and XSLT rest on the idea of pattern matching and transformation. They may use these patterns in different ways and transformations to achieve different ends but they are both good at what they do and interesting to program in for a common reason. Sal's passion for these languages and ideas comes through in both these cookbooks. He also likes to push technologies as far as they can go and into every nook and cranny of application. This is reflected in the wide mix of recipes he assembled for these books.
Sal has a Master's degree in Computer Science from Polytechnic University.
Comments about O'Reilly Media Mathematica Cookbook:
As an undergraduate in the mid-80's I looked at the available computer algebra systems with envy. (Anyone remember muMath?) I thought I'd never be able to afford one let alone have one on my desk. I even started to implement a simple symbolic manipulation program of my own. Mathematica, when I could finally convince my then employer to purchase a copy, was a dream come true. Despite the long interest, I wouldn't consider myself an expert. Far from it. This book is an excellent supplement to the four other Mathematica-related books I own. The book takes you from the basics but remains useful to the experienced user. I'm sure there are people out there who know all the tricks and tips in this book. I'm not one of them. I find something new and useful on almost each of the 800 pages.
8/29/2011
5.0
excellent
By marco mugnier
from France
Comments about O'Reilly Media Mathematica Cookbook:
excellent book, the field of topics covered is impressive and the depth of treatment is remarkable, but it lacks the code
5/18/2010
(13 of 13 customers found this review helpful)
5.0
Excellent in details
By Paul
from White Plains, NY
About Me Developer, Educator
Pros
Accurate
Concise
Easy to understand
Helpful examples
Well-written
Cons
Best Uses
Expert
Intermediate
Comments about O'Reilly Media Mathematica Cookbook:
This is as good as it gets without a personal assistant. I have used Mathematica for many years (since version 1.0) and yet this book revealed techniques that completely missed along the way. As a physicist and programmer I never got past the stage of "getting the job done" but this revealed techniques and tools like structures and data containment I hadn't realized were possible, For example, while I knew of Mathematica's sophisticated pattern matching tools (distinguishing it from other CAS tools) I was completely amazed at the depth and degree of pattern matching that can be used to simplify, sort and organize large data sets. I have already rewritten two of my libraries based on what I learned in the first week of getting this book.
The Mathematica documentation has all the information but Wolfram doesn't provide many examples. This is the 'missing manual'. It is a true cookbook but with the right mind you can see how each example can extend into other applications.
I also liked the fact that the book doesn't waste time on Mathematica basics but gets right into the sophisticated applications.
4/11/2010
(17 of 18 customers found this review helpful)
5.0
Mathematica for Problem solvers
By Kimberly R Peacock
from Fresh Meadows, NY
About Me Designer, Developer, Maker
Pros
Accurate
Concise
Easy to understand
Helpful examples
Well-written
Cons
None
Best Uses
Expert
Intermediate
Novice
Student
Comments about O'Reilly Media Mathematica Cookbook:
Mathematica is a Dragon, a powerful tool, but a beast to tame. Mr. Mangano is a Dragon slayer, and shows you through practical examples how to harness the power of Mathematica to solve real world problems.
For a specific field their are specialized books; but there are no current books on Mathematica which are as clear, concise, and have the breadth of scope, which convey the power of Mathematica and its ability to help you solve problems of all kinds.
This book focuses on problem solving, while it provides code, the focus is not on the collection of code, but on how to aproach solving problems with Mathematica. In short it provides you with a framework and methodology to frame your problem, and choose from many ways to compute an asnwer while freeing you to think.
This book belongs on every Mathematica's book shelf. I purchased the ebook, which is DRM free, and O'Reily I appluad your vision to not only produce quality books which allow me to deploy them on my laptop or kindle, but in supporting the ebook through future revisions, and add on notebooks.