Scientific and Engineering C++: An Introduction with Advanced Techniques and Examples

 
9780201533934: Scientific and Engineering C++: An Introduction with Advanced Techniques and Examples

Scientific and Engineering C++ brings the power of C++ to science and engineering programming. Highlights: builds on knowledge of both FORTRAN and C, the languages most familiar to scientists and engineers; systematically treats object-oriented programming, templates, and the C++ type system; relates the C++ programming process to expressing commonality in the design and implementation of programs; describes how to use existing FORTRAN and C subroutine libraries to implement C++ classes; introduces advanced techniques coordinating templates, inheritance, virtual function interfaces, and exceptions in substantive examples; provides examples, including an extensive family of array classes, smart pointers, class wrappers for LAPACK, classes for abstract algebra and dimensional analysis, function objects, exploiting existing C and FORTRAN libraries, automatic differentiation, and data analysis via nonlinear least squares using the singular value decomposition; and references key sources of new programming ideas and C++ programming techniques. Scientific and Engineering C++ will help engineers and scientists fluent in FORTRAN or C; professional programmers using C or C++ who are looking for a new, systematic discussion of C++ for object-oriented programming; and advanced programmers who are interested in sophisticated C++ programming techniques.

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

From the Inside Flap:

Like many scientists and engineers, much of our work involves writing computer programs. Recently we have been writing those programs in C++. We think that our programs are better and that we can do better science and engineering with these programs because they are written in C++. We think you should try C++, and we wrote this book to help you get started.

C++ is one of several new languages that use a programming style called object-oriented programming. To write large programs that are correct, readable, modifiable, affordable, and efficient requires the same creative effort and persistence characteristic of other endeavors in science and engineering. Traditional programming languages, including FORTRAN and C, force us to communicate with the computer in a demeaningly simplistic manner. C++ and an object-oriented programming style elevate the communication to a more abstract level: They provide means for investing intellectual effort to produce better-quality programs and thus better-quality science and engineering, from a given programming project.

Learning C++ will be exciting. Although most of the programming ideas used in languages like FORTRAN, PASCAL, and C are still used in object-oriented programs, the new concepts reorganize the work. Like all new fields, object-oriented programming will seem foreign and exotic. C++ embodies a decade of new ideas from computer science backed up by practical experience. These new ideas will stimulate your thinking about programming and its role in your work. We hope you will find, as we have, that this new view changes programming from a tedious, albeit engaging, process to an intellectual enterprise more comparable to the processes we employ in other scientific and engineering work. Purpose

The purpose of this book is to teach you how to use C++ and the object-oriented programming style to produce better-quality programs, with an emphasis on scientific and engineering programs. Most such programs today are written in FORTRAN or C and without the benefit of any particular programming methodology. For small programs of strictly numerical content, FORTRAN or C may be adequate. However, larger programs and programs containing nonnumerical code are too expensive to understand, to revise, and to improve if written in FORTRAN or C. We present object-oriented programming as a design and programming style that addresses these problems and C++ as a programming language designed to allow efficient use of the object-oriented style. If you are still using FORTRAN or C in your programming, we invite you to explore a new world, the world of object-oriented programming in C++. Audience

Our book teaches object-oriented programming in C++, using examples from science and engineering. It is not a book about scientific computing or numerical analysis nor an introduction to programming. The book moves rapidly through the basic features and syntax of C++, material readily assimilated by an engineer or scientist experienced in programming or, indeed, by any experienced programmer. Our aim is to move quickly beyond syntax and rules to the more interesting and important concepts and techniques of object-oriented programming in C++. The latter part of the book applies the concepts and techniques developed to substantive examples. The examples are drawn primarily from science and engineering, but the concepts and techniques are broadly applicable.

We expect the book to be useful to three (overlapping) groups:

Engineers and scientists who are experienced programmers in

FORTRAN or C

Professional programmers experienced in C or C++ looking

for a new systematic discussion of object-oriented programming in C++

C++ programmers interested in advanced examples useful as a

basis for scientific and engineering programming.

In addition to programming experience, some of the examples assume the mathematical maturity typical of an undergraduate student in an engineering or scientific field.

Learning C++ and object-oriented programming will be a challenge regardless of your background. We were frankly amazed that computer programming could be so different. We hope you find this challenge stimulating and rewarding on its own; we are confident that once you understand C++ and object-oriented programming, you will not be satisfied with less. Acknowledgments

This book was made possible by the considerable patience of our employer, the Research Division of the IBM Corporation, and the personal patience and encouragement of our managers, colleagues, friends, and families. We began work on this book when we were in the Physical Sciences (Barton) and Manufacturing Research (Nackman) departments. Our managers in those departments--Read McFeely, Franz Himpsel, and Bruce Scott; Mike Wesley, Warren Grobman, and Russ Lange--supported and encouraged our work. A special thanks to the late Mike Wesley, manager, mentor, and friend for a decade: He recognized the importance of producing quality software for engineering applications and provided the environment, encouragement, and support for learning something about how to do it. We have completed work on the book in the Computer Science department, where we enjoy the considerable support and encouragement of our manager Mark Wegman.

We are indebted to all of our colleagues at IBM Research for having made it a special place to work and learn. We especially thank Michael Karasick and Derek Lieber for helping us, over many years, to learn C++ and how to use it, and Louis Terminello for timely and gracious encouragement. We also thank Bjarne Stroustrup and the developers of IBM's C++ compiler, especially Mark Mendell, Dave Streeter, and Ernest Choi, for correspondence and encouragement while we learned and relearned C++.

We were also fortunate to have the help of many reviewers; their comments improved many aspects of the book, ranging from typography to the book's organization. The comments of James Coplien, Tom Lyons, and William Press had an especially large impact on the book. As deadlines loomed, Michael Karasick read furiously through several drafts to help us weed out the worst confusions. We also thank John L. Bradberry, Goodwin Chin, Marshall Cline, Chris Codella, Margaret Ellis, Martin Giles, Franklin Gracer, Peter Juhl, Derek Lieber, Mark Linton, Tom Linton, Stanley Lippman, Alistair McClean, John Morar, Dean Pentcheff, V. T. Rajan, John Rehr, Chris Seekamp, Steve Stevenson, Bjarne Stroustrup, Bob Sutor, Dave Tolle, Hank Walker, and Robert Wang for their many suggestions. The efforts of all these people spared you the early drafts of the book.

Debbie Lafferty, our editor at Addison-Wesley, gently prodded and encouraged us at each step of the way, carefully balancing between pushing too little and too hard.

The love of our families--Ava, Rachel, Samuel, and Joel Nackman; Cynthia Butler and John Anthony and Andrew Butler Barton--has been essential. We thank them for their patience and understanding during all those times when working on the book took time away from them.

0201533936P04062001

From the Back Cover:

Barton and Nackman explore using C++ and the object-oriented programming style in scientific and engineering programs. The book emphasizes general concepts, systematic ways of using C++ features, advanced techniques, and particular styles that will help you write object-oriented programs. Examples are drawn from scientific and engineering applications, and the concepts, techniques, and styles are broadly applicable.

The book is organized into three parts. The first part builds a working knowledge of C++. The second part introduces object-oriented programming and design techniques, emphasizing the various ways to express commonality and abstraction. The third part illustrates coordination of advanced C++ features and techniques by developing several interesting examples, including array classes, pointer classes, systems employing abstract algebra, FORTRAN-based matrices, function mapping, and data fitting.



0201533936B04062001

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

I migliori risultati di ricerca su AbeBooks

1.

Barton, John J.Nackman, Lee R.
Editore: Prentice Hall
ISBN 10: 0201533936 ISBN 13: 9780201533934
Nuovi Quantità: > 20
Da
INDOO
(Avenel, NJ, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Prentice Hall. Condizione libro: New. Brand New. Codice libro della libreria 0201533936

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 43,63
Convertire valuta

Aggiungere al carrello

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

2.

John J. Barton; Lee R. Nackman
ISBN 10: 0201533936 ISBN 13: 9780201533934
Nuovi Paperback Quantità: 1
Da
READERS PRIDE
(PLANO, TX, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Paperback. Condizione libro: BRAND NEW. NEW Book in Mint Condition -- Great DEAL !! Fast Shipping -- Friendly Customer Service -- Buy with Confidence!. Codice libro della libreria RP0201533936BN

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 60,66
Convertire valuta

Aggiungere al carrello

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

3.

Barton, John J., Nackman, Lee R.
Editore: Addison-Wesley Professional (1994)
ISBN 10: 0201533936 ISBN 13: 9780201533934
Nuovi Paperback Quantità: 2
Da
Murray Media
(North Miami Beach, FL, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Addison-Wesley Professional, 1994. Paperback. Condizione libro: New. Never used!. Codice libro della libreria P110201533936

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 63,16
Convertire valuta

Aggiungere al carrello

Spese di spedizione: EUR 1,69
In U.S.A.
Destinazione, tempi e costi

4.

John J. Barton, Lee R. Nackman
Editore: Addison-Wesley Professional (1994)
ISBN 10: 0201533936 ISBN 13: 9780201533934
Nuovi Paperback Quantità: 1
Da
Ergodebooks
(RICHMOND, TX, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Addison-Wesley Professional, 1994. Paperback. Condizione libro: New. 1. Codice libro della libreria DADAX0201533936

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 68,59
Convertire valuta

Aggiungere al carrello

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

5.

John J. Barton; Lee R. Nackman
Editore: Addison-Wesley Professional (1994)
ISBN 10: 0201533936 ISBN 13: 9780201533934
Nuovi Brossura Quantità: > 20
Da
Palexbooks
(Sanford, NC, U.S.A.)
Valutazione libreria
[?]

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

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 72,23
Convertire valuta

Aggiungere al carrello

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

6.

John J. Barton and Lee R. Nackman
ISBN 10: 0201533936 ISBN 13: 9780201533934
Nuovi Quantità: 1
Da
Castle Rock
(Pittsford, NY, U.S.A.)
Valutazione libreria
[?]

Descrizione libro Condizione libro: Brand New. Book Condition: Brand New. Codice libro della libreria 97802015339341.0

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 73,51
Convertire valuta

Aggiungere al carrello

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

7.

John J. Barton/ Lee R. Nackman
Editore: Addison-Wesley (1994)
ISBN 10: 0201533936 ISBN 13: 9780201533934
Nuovi Paperback Quantità: 1
Da
Revaluation Books
(Exeter, Regno Unito)
Valutazione libreria
[?]

Descrizione libro Addison-Wesley, 1994. Paperback. Condizione libro: Brand New. 1st edition. 688 pages. 9.75x7.75x1.25 inches. In Stock. Codice libro della libreria zk0201533936

Maggiori informazioni su questa libreria | Fare una domanda alla libreria

Compra nuovo
EUR 84,72
Convertire valuta

Aggiungere al carrello

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