Using the C++ Math Library | ![]() ![]() |
Who Should Read This Book
This book is intended to be a practical introduction to programming with the MATLAB C++ Math Library. It is written for programmers. In order to use this library, you need to understand what a function call is, how to declare a variable, what the phrase "pass by value" means, and what program control structure is. Knowledge of some common programming techniques such as reference counting helps you gain a deeper understanding of how the library works, but is not essential.
If you have never programmed before, you may find this manual difficult to read. Writing C++ programs requires a different set of skills from those required to use even a very technical program like MATLAB.
To get the most out of this document, you should be familiar with writing either C++ programs or MATLAB M-files. The annotations to the code examples assume that you know one language or the other, and often try to teach you about one language by reference to the other.
The intended audience for this manual is C++ programmers who need a matrix math library or MATLAB programmers who want the ease of M-file programming and the performance of C++. This book will not teach you how to program in either MATLAB or C++; see Additional Sources for pointers to sources of information on these topics.
![]() | Overview of the MATLAB C++ Math Library | New MATLAB C++ Math Library Features | ![]() |