Author(s): Eubank, Randall L.; Kupresanin, Ana
Series: Chapman & Hall/CRC the R series (CRC Press)
Publisher: CRC Press
Year: 2011
Language: English
Pages: 535
Tags: Библиотека;Компьютерная литература;R;
Content: Introduction Programming paradigms Object-oriented programming What lies ahead Computer representation of numbers Introduction Storage in C++ Integers Floating-point representation Errors Computing a sample variance Storage in R Exercises A sketch of C++ Introduction Variables and scope Arithmetic and logical operators Control structures Using arrays and pointers Functions Classes, objects and methods Miscellaneous topics Matrix and vector classes .Input, output and templates .Function templates .Exercises Generation of pseudo-random numbers Introduction Congruential methods Lehmer type generators in C++ An FMclass Other generation methods Nonuniform generation Generating random normals Generating random numbers in R Using the R Standalone Math Library .Exercises Programming in R Introduction File input and output Classes, methods and namespaces Writing R functions Avoiding loops in R An example Using C/C++ code in R Exercises Creating classes and methods in R Introduction Creating a new class Generic methods An example Exercises Numerical linear algebra Introduction Solving linear equations Eigenvalues and eigenvectors Singular value decomposition Least squares The Template Numerical Toolkit Exercises Numerical optimization Introduction Function objects Golden section Newton's method Maximum likelihood Random search Exercises Abstract data structures Introduction ADT dictionary ADT priority queue ADT ordered set Pointer arithmetic, iterators and templates Exercises Data structures in C++ Introduction Container basics Vector and deque The C++ list container Queues The map and set containers Algorithm basics Exercises Parallel computing in C++ and R Introduction OpenMP Basic MPI commands for C++ Parallel processing in R Parallel random number generation Exercises A An introduction to Unix A.Getting around and finding things A.Seeing what's there A.Creating and destroying things A.Things that are running and how to stop them B An introduction to R B.R as a calculator B.R as a graphics engine B.R for statistical analysis C C++ library extensions (TR) C.Pseudo-random numbers C.Hash tables C.Tuples D The Matrix and Vector classes E The ranGen class References Index