neuray API Programmer's Manual

Internal Storage Classes for Matrices

[Matrix Class]

Description

Storage class for matrix templates with support for xx, xy, xz, etc., members for appropriate dimensions. Use the mi::math::Matrix template in your programs and this storage class only if you need a POD type, for example for parameter passing.

Include File:

#include <mi/math/matrix.h>

Classes

struct 
Specialization for 1x1-matrix. More...
struct 
Specialization for 1x2-matrix. More...
struct 
Specialization for 1x3-matrix. More...
struct 
Specialization for 1x4-matrix. More...
struct 
Specialization for 2x1-matrix. More...
struct 
Specialization for 2x2-matrix. More...
struct 
Specialization for 2x3-matrix. More...
struct 
Specialization for 2x4-matrix. More...
struct 
Specialization for 3x1-matrix. More...
struct 
Specialization for 3x2-matrix. More...
struct 
Specialization for 3x3-matrix. More...
struct 
Specialization for 3x4-matrix. More...
struct 
Specialization for 4x1-matrix. More...
struct 
Specialization for 4x2-matrix. More...
struct 
Specialization for 4x3-matrix. More...
struct 
Specialization for 4x4-matrix. More...
struct 
Storage class for a NxM-dimensional matrix class template of fixed dimensions. More...

Functions

template< typename T, Size, Size>T* mi::math::matrix_base_ptr( Matrix_struct < T , ROW , COL >& mat)
Returns the base pointer to the matrix data.
template< typename T, Size, Size>const T* mi::math::matrix_base_ptr( const Matrix_struct < T , ROW , COL >& mat)
Returns the base pointer to the matrix data.

Functions

template< typename T, Size, Size>

T* mi::math::matrix_base_ptr( Matrix_struct < T , ROW , COL >& mat) [inline]

Returns the base pointer to the matrix data.

template< typename T, Size, Size>

const T* mi::math::matrix_base_ptr( const Matrix_struct < T , ROW , COL >& mat) [inline]

Returns the base pointer to the matrix data.