Using the C++ Math Library | ![]() ![]() |
Introduction
The MATLAB ® C++ Math Library serves two separate constituencies:
MATLAB programmers seeking more speed or complete independence from interpreted MATLAB, and C++ programmers who need a fast, easy-to-use matrix math library. To each, it offers distinct advantages.
MATLAB M-file programmers can write code that looks like M-file code but runs significantly faster. Because the syntax of the C++ interface is so similar to the MATLAB syntax, this performance comes at very little cost. MATLAB programmers can leverage their knowledge of M-file programming to become productive with this library very quickly. An additional advantage is that programs developed with this library do not require the interpreted MATLAB environment to execute. In addition, you may freely distribute applications you develop with the MATLAB C++ Math Library.
To C++ programmers, this library provides a natural and robust interface and a rich collection of powerful functions. MATLAB's M-file programming interface has been used by hundreds of thousands of scientists and engineers worldwide. It allows them to program the way they think, using a syntax that is simple and intuitive. Because MATLAB handles details like memory management, programmers can devote more of their mental effort to solving a problem and less to coping with the tool itself.
The ease of use that distinguishes MATLAB is a hallmark of this library as well. In addition to its natural syntax, MATLAB is easy to use because of the large number of functions it contains. Often a solution consists of little more than a single page of code. Such short programs mean easier maintenance and higher productivity.
![]() | Overview of the MATLAB C++ Math Library | ![]() |