Using the C++ Math Library | ![]() ![]() |
Performance and Efficiency
You do not need to understand the information in this section to use the MATLAB C++ Math Library effectively. It is included to satisfy the curious and provide a glimpse into the inner workings of the library. Reading this section may enable you to eke those last few microseconds out of a tight loop or decrease your program's memory requirements, but be warned that the information presented here is subject to change without notice.
In general, performance and efficiency are tightly linked to implementation. Should the implementation of the MATLAB C++ Math Library change (as it is likely to), the most efficient way to use the library will likely change as well. This is a warning. If you take advantage of the descriptions below to increase the speed of your code, be aware that the next release of the library may do things differently, and your highly tuned code may run more slowly than you expect.
![]() | Setting Up Your Own Memory Management Routines | The Space-Time Continuum | ![]() |