Programming in Mathematica (3rd Edition)

Valutazione media 4,29
( su 7 valutazioni fornite da Goodreads )
 
9780201854497: Programming in Mathematica (3rd Edition)

This work describes Mathematica programming methods and then explains how to apply them to the construction of the actual programs. In addition, it also discusses the software engineering issues of writing and using larger programs in Mathematica.

Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.

From the Inside Flap:

Mathematica was officially announced in June of 1988. Since then it has found many uses in very diverse fields. While it is useful to do a few calculations interactively, its real strength lies in the programming language it offers. Writing programs, one extends Mathematica with specialized new functions in one's own field of interest.

Mathematica's programming language is unlike any you have encountered before. The language's manual explains all its features and gives some very basic examples of their use. For writing good programs, however, this is not enough: there is clearly a need for a book explaining all the many features in context and giving more extensive examples of their use. The first edition of this book filled this gap for version 1.2 of Mathematica. Like the second edition, this third edition was prompted by a major new version of Mathematica, Version 3.0.

I have been in contact with many early users of Mathematica and I have also given students at the University of Illinois and the Swiss Federal Institute of Technology an opportunity to learn about it. I have seen many programs written in Mathematica, good ones and bad ones. The bad ones invariably solve a particular problem in an unnecessarily complicated way, perhaps because the programmers were unaware of the elegant constructs available in Mathematica. Let me point out these constructs and show you how they can be used to write concise, elegant, and efficient programs.

The best way to teach these Mathematica-specific programming methods is to look at examples of complete programs that solve some nontrivial problem. Even if the example chosen does not lie in the particular field of application that you are interested in, you will be able to use similar ideas for your own programs. Many of the examples presented here deal with graphics. Graphics applications are especially suited for learning programming, because it is easy to see whether your code is correct simply by looking at the picture it produces. Advanced graphics applications are also sufficiently challenging to require advanced programming methods. Other examples come from symbolic computation, geometry, dynamics, and numerical mathematics. Along the way, we also develop many short pieces of code that can be used as parts of larger programs or that help to customize Mathematica to your particular needs. Many of these found their way into the standard Mathematica distribution and are now available to all users.

Because there exists an excellent manual, this book does not explain everything from scratch, but assumes some familiarity with Mathematica. I assume also that you have access to a computer on which to try out the examples. In this book I want to tell you how you can use Mathematica for more than just typing in single commands. If you are using Mathematica for your work, teaching, or solving homework assignments, sooner or later you will encounter more advanced problems requiring many commands to solve, or you will be faced with doing the same calculation steps over and over again with different input. This is the point at which you want to start writing programs. Mathematica includes a rich and powerful programming language. Unlike the usual languages such as BASIC and C, it is not restricted to a small number of data types, but allows you to perform all its symbolic computations. The Mathematica manual can only hint at the possibilities. It explains all the features but does not show you which ones to use for a particular problem or how to fit things together into larger programs.

Through design and tradition, each programming language has developed a certain preferred style of good programming. It is possible to solve the same problem in many different ways, but there is usually some idea about what is a good or a bad program. In this book, I want to present examples of what the designers of

Mathematica think is good programming style and show you why this is so. Even if you write your programs strictly for personal use, you will benefit from following a good style. For developing programs for others to use, adhering to this style is indispensable.

The programming examples in this book serve two purposes. First, they help explain concepts and show how things fit together to make up complete programs. Second, they are designed to be more than mere toy programs and should prove useful in their own right. In developing an example we always use the same method. We start out with a few commands or definitions that could be entered directly into Mathematica. We then extract the parts of the computation that are the same regardless of the input and define some functions or procedures that automate these steps. Then we apply standard techniques to these functions to make them into a package, adding documentation and certain programming constructs that make such a package easier to use. The goal is to write a program that would be useful not only to its author, who knows how it works, but also to other people. Finally, we might add a few more functions to the package or look at alternatives to what we did so far. In Chapter 1 these steps are described in full detail. Later on, when we concentrate on other aspects, we assume that you are familiar with these basic concepts and we shall not mention all the steps in detail. All the programs developed in this book are either part of the standard Mathematica distribution from Wolfram Research, or they are available free in electronic form.

Version 3.0 brings major new features. The programming language itself has not changed all that much, but many problems that required elaborate workarounds and many inconsistencies have been remedied. As a consequence, it is now possible to present the material on packages in a more logical fashion. The support for developing larger applications has been improved, and this edition discusses the software engineering issues of writing and using larger programs in Mathematica. The treatment of exact numeric quantities is another area of improvement, and the way numerical code should be written has changed. All programs have been revised to take advantage of the many new built-in functions. I added more material about functional and structural programming. These techniques are fundamental to writing good Mathematica code, but they are not available in most other programming languages and therefore need an expanded treatment.

The most important addition to Version 3.0 is, of course, the new frontend and the typesetting capabilities. The fact that notebooks and typeset formulae are represented as ordinary Mathematica expressions means that they can be manipulated easily with programs. This capability leads to some fascinating applications, and the new material on the frontend and typesetting teaches you how to develop such applications.

A complete, larger application (iterated function systems), more exercises, and an updated bibliography complete this expanded and revised edition.

This book is no replacement for the Mathematica manual The Mathematica Book. I do not expect that you have read everything in the manual, but you should have some basic experience with Mathematica before reading this book. Single commands are usually used without detailed explanation. You can use the index in The Mathematica Book to look up a description of a command that you did not know about. We also give references to places in The Mathematica Book where you can find explanations of concepts that are particularly relevant to a topic in this book. You should always turn to The Mathematica Book for explanations of features that are assumed known here, but that you have not used yet. The place to look for an explanation of all variants, defaults, or options for a particular command is the Reference Guide in the back of the book. All this information is also available in electronic form and can be accessed through the Help Browser of Mathematica.

All explanations about how Mathematica works are based on Version 3.0. The first edition of this book was about Version 1.2. Many things have changed in the new version. I added a few sections called "Changes from Earlier Editions"for the benefit of readers familiar with earlier versions of Mathematica or the first and second edition of this book.

I am grateful to many people who have contributed to this book. My thanks go first to the other developers of Mathematica. The language was shaped through countless discussions and many heated arguments. Trying to explain to each other why we think a certain feature should be done in a certain way has deepened our understanding of the matters involved and has given the language its overall consistency, despite the fact that it contains hundreds of commands and unifies many diverse programming paradigms.

Helpful ideas for this book came from Jim Feagin, Theodore Gray, Dan Grayson, Jerry Keiper, Silvio Levy, Troels Petersen, Will Self, Bruce Smith, Ilan Vardi, Ferrell Wheeler, and Stephen Wolfram. Some of the examples I used were inspired by Henry Cejtin, John Gray, Lee Rubel, William Thurston, Ilan Vardi, Jnrg Waldvogel, and Dave With

From the Back Cover:

This revised and expanded edition of the standard reference on programming in Mathematica addresses all the new features in the latest Version 3 of the software. The support for developing larger applications has been improved, and the book now discusses the software engineering issues related to writing and using larger programs in Mathematica. As before, Roman Maeder, one of the original authors of the Mathematica system, explains how to take advantage of its powerful built-in programming language.

New topics in this edition include:

  • The programmable front-end;
  • The language for typesetting mathematical expressions and the treatment of exact numerical quantities;
  • A completely developed larger application, iterated function systems. This code allows readers to explore the fascinating world of chaos and fractals with Mathematica.

Current users of Mathematica, Version 2, and new users of Version 3 will benefit alike from this up-to-date reference to Mathematica programming.



020185449XB04062001

Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.

I migliori risultati di ricerca su AbeBooks

1.

Roman E. Maeder
Editore: Pearson Education (US), United States (1997)
ISBN 10: 020185449X ISBN 13: 9780201854497
Nuovi Paperback Quantità: 1
Da
The Book Depository
(London, Regno Unito)
Valutazione libreria
[?]

Descrizione libro Pearson Education (US), United States, 1997. Paperback. Condizione libro: New. 3rd Revised edition. Language: English . Brand New Book. This revised and expanded edition of the standard reference on programming in Mathematica addresses all the new features in the latest Version 3 of the software. The support for developing larger applications has been improved, and the book now discusses the software engineering issues related to writing and using larger programs in Mathematica. As before, Roman Maeder, one of the original authors of the Mathematica system, explains how to take advantage of its powerful built-in programming language. New topics in this edition include: *The programmable front-end; *The language for typesetting mathematical expressions and the treatment of exact numerical quantities; *A completely developed larger application, iterated function systems. This code allows readers to explore the fascinating world of chaos and fractals with Mathematica. Current users of Mathematica, Version 2, and new users of Version 3 will benefit alike from this up-to-date reference to Mathematica programming. 020185449XB04062001. Codice libro della libreria AAC9780201854497

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 33,36
Convertire valuta

Aggiungere al carrello

Spese di spedizione: GRATIS
Da: Regno Unito a: U.S.A.
Destinazione, tempi e costi

2.

Roman E. Maeder
Editore: Pearson Education (US), United States (1997)
ISBN 10: 020185449X ISBN 13: 9780201854497
Nuovi Paperback Quantità: 1
Da
The Book Depository US
(London, Regno Unito)
Valutazione libreria
[?]

Descrizione libro Pearson Education (US), United States, 1997. Paperback. Condizione libro: New. 3rd Revised edition. Language: English . Brand New Book. This revised and expanded edition of the standard reference on programming in Mathematica addresses all the new features in the latest Version 3 of the software. The support for developing larger applications has been improved, and the book now discusses the software engineering issues related to writing and using larger programs in Mathematica. As before, Roman Maeder, one of the original authors of the Mathematica system, explains how to take advantage of its powerful built-in programming language. New topics in this edition include: *The programmable front-end; *The language for typesetting mathematical expressions and the treatment of exact numerical quantities; *A completely developed larger application, iterated function systems. This code allows readers to explore the fascinating world of chaos and fractals with Mathematica. Current users of Mathematica, Version 2, and new users of Version 3 will benefit alike from this up-to-date reference to Mathematica programming. 020185449XB04062001. Codice libro della libreria AAC9780201854497

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 36,92
Convertire valuta

Aggiungere al carrello

Spese di spedizione: GRATIS
Da: Regno Unito a: U.S.A.
Destinazione, tempi e costi

3.

Roman Maeder
Editore: Pearson Education (1996)
ISBN 10: 020185449X ISBN 13: 9780201854497
Nuovi Quantità: 1
Da
Books2Anywhere
(Fairford, GLOS, Regno Unito)
Valutazione libreria
[?]

Descrizione libro Pearson Education, 1996. PAP. Condizione libro: New. New Book. Shipped from US within 10 to 14 business days. Established seller since 2000. Codice libro della libreria IB-9780201854497

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 28,58
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 10,03
Da: Regno Unito a: U.S.A.
Destinazione, tempi e costi

4.

Maeder, Roman
Editore: Addison-Wesley Professional (1997)
ISBN 10: 020185449X ISBN 13: 9780201854497
Nuovi Paperback Quantità: 2
Da
Murray Media
(North Miami Beach, FL, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Addison-Wesley Professional, 1997. Paperback. Condizione libro: New. Codice libro della libreria P11020185449X

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 37,15
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 2,56
In U.S.A.
Destinazione, tempi e costi

5.

Maeder, Roman
Editore: Addison-Wesley Professional (1997)
ISBN 10: 020185449X ISBN 13: 9780201854497
Nuovi Paperback Quantità: 1
Da
Murray Media
(North Miami Beach, FL, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Addison-Wesley Professional, 1997. Paperback. Condizione libro: New. Codice libro della libreria 020185449X

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 37,38
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 2,56
In U.S.A.
Destinazione, tempi e costi

6.

Roman Maeder
Editore: Addison-Wesley Professional (1997)
ISBN 10: 020185449X ISBN 13: 9780201854497
Nuovi Paperback Quantità: 1
Da
Ergodebooks
(RICHMOND, TX, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Addison-Wesley Professional, 1997. Paperback. Condizione libro: New. 3. Codice libro della libreria DADAX020185449X

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 36,91
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 3,42
In U.S.A.
Destinazione, tempi e costi

7.

Roman Maeder
ISBN 10: 020185449X ISBN 13: 9780201854497
Nuovi Paperback Quantità: 1
Da
Grand Eagle Retail
(Wilmington, DE, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Paperback. Condizione libro: New. 3rd. Paperback. This revised and expanded edition of the standard reference on programming in Mathematica addresses all the new features in the latest Version 3 of the software. The support for developing.Shipping may be from multiple locations in the US or from the UK, depending on stock availability. 384 pages. 0.699. Codice libro della libreria 9780201854497

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 41,17
Convertire valuta

Aggiungere al carrello

Spese di spedizione: GRATIS
In U.S.A.
Destinazione, tempi e costi

8.

Maeder, Roman
Editore: Addison-Wesley Professional
ISBN 10: 020185449X ISBN 13: 9780201854497
Nuovi PAPERBACK Quantità: 1
Da
Russell Books
(Victoria, BC, Canada)
Valutazione libreria
[?]

Descrizione libro Addison-Wesley Professional. PAPERBACK. Condizione libro: New. 020185449X Special order direct from the distributor. Codice libro della libreria ING9780201854497

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 41,67
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 6,00
Da: Canada a: U.S.A.
Destinazione, tempi e costi

9.

Roman Maeder
Editore: Addison-Wesley Professional (1997)
ISBN 10: 020185449X ISBN 13: 9780201854497
Nuovi Brossura Quantità: > 20
Da
Palexbooks
(Sanford, NC, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Addison-Wesley Professional, 1997. Condizione libro: New. Brand new! Please provide a physical shipping address. Codice libro della libreria 9780201854497

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 45,33
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 2,57
In U.S.A.
Destinazione, tempi e costi

10.

Roman Maeder
Editore: Addison-Wesley (1996)
ISBN 10: 020185449X ISBN 13: 9780201854497
Nuovi Paperback Quantità: 1
Da
Revaluation Books
(Exeter, Regno Unito)
Valutazione libreria
[?]

Descrizione libro Addison-Wesley, 1996. Paperback. Condizione libro: Brand New. 3rd fac sub edition. 366 pages. 9.25x8.00x0.50 inches. In Stock. Codice libro della libreria x-020185449X

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 46,06
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 6,69
Da: Regno Unito a: U.S.A.
Destinazione, tempi e costi

Vedi altre copie di questo libro

Vedi tutti i risultati per questo libro