Material Definition Language API nvidia_logo_transpbg.gif Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Math API

Math-related functions and classes, for example, vectors and matrices. More...

Modules

 Math API Assertions
 Assertions.
 
 Bounding Box Class
 An axis-aligned N-dimensional bounding box class template of fixed dimension with supporting functions.
 
 Color Class
 Standard RGBA color class with floating point elements and operations.
 
 Math Functions
 The math API provides functions and function templates that act on simple types or generic container and vector concepts.
 
 Matrix Class
 A NxM-dimensional matrix class template of fixed dimensions with supporting functions.
 
 Spectrum Class
 Spectrum class with floating point elements and operations.
 
 Math Vector Class
 Math vector class template of fixed dimension with generic operations.
 
 Versioning of the Math API
 The Math API has a major and minor version number and an optional qualifier.
 

Namespaces

 mi::math
 Namespace for the Math API.
 

Enumerations

enum  mi::math::From_iterator_tag { mi::math::FROM_ITERATOR }
 Enum used for initializing a vector from an iterator. More...
 

Detailed Description

Math-related functions and classes, for example, vectors and matrices.

Include File:
#include <mi/math.h>

Enumeration Type Documentation

Enum used for initializing a vector from an iterator.

See Also
mi::math::Vector

Two examples initializing a 3D vector:

mi::Float32 data[3] = {1.0, 2.0, 4.0};
std::vector v( 2.4, 3000);
Enumerator
FROM_ITERATOR 

Unique enumerator of From_iterator_tag.