Edward scheinerman c++ for mathematicians

521 143 0
Edward scheinerman   c++ for mathematicians

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Đây là quyển sách tiếng anh về lĩnh vực công nghệ thông tin cho sinh viên và những ai có đam mê. Quyển sách này trình về lý thuyết ,phương pháp lập trình cho ngôn ngữ C và C++.

[...]... C++ enables you to create correct programs quickly Furthermore, there is an extensive collection of C++ programs freely available on the Web that can be customized and used for your purposes (we discuss a few of these in Chapter 13) In addition, C++ is available for free on most computer systems See Appendix A for more information about different versions of C++ for various computing envi- xix xx C++. .. engineers For example, C++ provides a number of exotic casting operators (such as reinterpret_cast) that are not of interest to mathematicians; we omit those Nei- xxii C++ for Mathematicians ther multiple inheritance nor pure virtual functions are for us We do not explain how to make C++ programs work with other languages such as assembly language We don’t create our own namespaces For these and other C++. .. students of mathematics This book is written for you This is the book that I wish someone had written for me This is a book that introduces the C++ language for people who are interested in solving mathematical problems There is a dizzying selection of books on C++ written for a wide array of audiences Visit your favorite bookseller and you can find C++ books for finance, numerics, computer security, game... course for dummies We assume that none of the above applies to you We approach C++ from the point of view of solving mathematical problems We organize our discussion around the mathematics and bring in the relevant C++ ideas as we need them Why C++? There is a plethora of computer tools available to the mathematical scientist Many of these are suited for specific purposes For example, if you need to perform... table of primes A program to calculate pn for n equal to one million Header file Point.h for the Point class (condensed version) Code for the Point class methods and procedures 5 11 13 15 17 19 21 23 24 32 34 34 35 35 37 38 40 43 44 48 54 56 58 60 63 73 74 75 76 77 79 81 82 84 85 95 109 xiii xiv C++ for Mathematicians 6.3 7.1 7.2 7.3 8.1 8.2 8.3 8.4... the PObject class (version 1) Header file for the PPoint class Program file for the PPoint class Header file for the PLine class Program file for the PLine class A main to test the RP2 classes Header file for the PObject class (version 2) Program file for the PObject class (version 2) A program...x C++ for Mathematicians A.2 A.3 A.1.5 Introduction to make Programming with an integrated development environment A.2.1 Visual C++ for Windows A.2.2 Xcode for Macintosh OS X General advice on debugging 370 372 373 376... 1.1 What is C++? C++ is a computer programming language Computers are electronic information-processing machines Data and programs in these machines are saved, moved, and transformed in the form of electrical voltages These electrical voltages can be interpreted as a zeros and ones The zeros and ones can be aggregated and interpreted as words, numbers, images, sounds, and so on Long ago, information—be... switches for entering instructions and data (Image courtesy of the Computer Museum at the University of Stuttgart Photograph by Klemens Krause.) 3 4 C++ for Mathematicians computer by manipulating switches on the front of the machine Today, there are better methods Computer programming languages convert text into the requisite binary instructions C++ is a compiled language This means that before the... file for Permutation class, Permutation.h Program file for Permutation class Header file monotone.h Finding longest monotone subsequences A program to illustrate Ulam’s problem Header file for the max of three template The template for the mycomplex classes Revised version of mycomplex Header file for . acid-free paper 10987654321 International Standard Book Number-10: 1-5 848 8-5 84-X (Softcover) International Standard Book Number-13: 97 8-0 97 8-1 -5 848 8-5 8 4-9 . y0 w0 h1" alt="" C++ for Mathematicians An Introduction for Students and Professionals Edward Scheinerman Cover photograph: Ira Scheinerman Cover

Ngày đăng: 19/03/2014, 14:07

Từ khóa liên quan

Tài liệu cùng người dùng

Tài liệu liên quan