Math API nvidia_logo_transpbg.gif Up
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

namespace  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

 From_iterator_tag

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);
Fixed-size math vector class template with generic operations.
Definition: vector.h:286
float Float32
32-bit float.
Definition: types.h:51
@ FROM_ITERATOR
Unique enumerator of From_iterator_tag.
Definition: vector.h:37
Enumerator
FROM_ITERATOR 

Unique enumerator of From_iterator_tag.