Using the C Math Library | ![]() ![]() |
Organization of the MATLAB Math Libraries
The MATLAB functions within the MATLAB C Math Library are delivered as two libraries: the MATLAB Built-In Library and the MATLAB M-File Math Library. The Built-In Library contains the functions that every program using the MATLAB C Math Library needs, including, for example, the elementary mathematical functions that perform matrix addition and multiplication. The M-File Math Library is larger than the Built-In Library and contains more specialized functions, such as polynomial root finding or the two-dimensional inverse discrete Fourier transformation. Both libraries follow the same uniform naming convention and obey the same calling conventions.
MATLAB C Math Library programs link dynamically against both math libraries, in addition to the Array Access and Creation Library. (See Building Stand-Alone C Applications in Chapter 2 for a complete list of the required libraries.)
![]() | Library Routines | The MATLAB Built-In Library | ![]() |