Math API Include Files
The math API contains the base API include files as well.
The mi/base.h include file and all include files in the mi/base/ subdirectory are from the base API.
The math API offers two groups of include files. One group contains the mi/math.h include file and the mi/base.h include file, which provide the full functionality of the math API and the base API, respectively. The other group consists of several include files named mi/math/<functional-name>.h, which provide individual parts of the math API grouped by functionality, or mi/base/<functional-name>.h, which provide individual parts of the base API grouped by functionality. In fact, the mi/math.h include file just includes mi/base.h and all include files in the mi/math/ subdirectory.
See Base API Include Files for the individual base API include files grouped by compoment.
Include files are self-contained. Internal dependencies are resolved automatically. As a consequence, their inclusion is order independent.
Math Include Files Grouped by Component |
Description |
Documentation |
---|---|---|
Version number for the math API. |
||
Assertions and static assertions. |
||
Math functions and function templates on simple types or generic container and vector concepts. |
||
Math vector class template of fixed dimension with arithmetic operators and generic functions. |
||
N-times-M-dimensional matrix class template of fixed dimensions with supporting functions. |
||
An axis-aligned N-dimensional bounding box class template of fixed dimension with supporting functions. |
||
Standard RGBA color class with mi::Float32 elements and operations. |
||
Spectrum class with mi::Float32 elements and operations. |
There may be include files that are not documented here. They are automatically included if needed and their independent use is not supported. Their naming and organization might change in the future.