ergo
matrix_proxy.h File Reference

Go to the source code of this file.

Classes

struct  mat::XY< TX, TY >
 This proxy expresses the result of multiplication of two objects, of possibly different types, TX and TY. More...
 
struct  mat::XYZ< TX, TY, TZ >
 This proxy expresses the result of multiplication of three objects, of possibly different types, TX, TY, and TZ. More...
 
struct  mat::XYZpUV< TX, TY, TZ, TU, TV >
 This proxy expresses the result of multiplication of three objects added to two other multiplied objects. More...
 
struct  mat::Xtrans< TX >
 This proxy expresses the result of transposition of an object of type TX. More...
 
struct  mat::XpY< TX, TY >
 This proxy expresses the result of addition of two objects, of possibly different types, TX and TY. More...
 
struct  mat::XmY< TX, TY >
 This proxy expresses the result of substraction of two objects, of possibly different types, TX and TY. More...
 

Namespaces

 mat
 

Functions

template<typename TX >
Xtrans< TX > mat::transpose (TX const &A)
 Transposition. More...
 
template<typename TX >
Xtrans< TX > mat::transpose (const Xtrans< TX > &xtrans)
 Transposition. More...
 
template<typename TX , typename TY >
XY< TX, TY > mat::operator* (Xtrans< TX > const &trAA, Xtrans< TY > const &trBB)
 Multiplication of two transposition proxys holding objects of type TX and TY respectively. More...
 
template<typename TX , typename TY >
XY< TX, TY > mat::operator* (TX const &AA, Xtrans< TY > const &trBB)
 Multiplication of an object of type TX with a tranposition proxy
holding an object of type TY. More...
 
template<typename TX , typename TY >
XY< TX, TY > mat::operator* (Xtrans< TX > const &trAA, TY const &BB)
 Multiplication of a tranposition proxy holding an object of type TX with an object of type TY. More...
 
template<typename TX , typename TY >
XY< TX, TY > mat::operator* (TX const &AA, TY const &BB)
 Multiplication of an object of type TX with an object of type TY. More...
 
template<typename TX , typename TY , typename TZ >
XYZ< TX, TY, TZ > mat::operator* (XY< TX, TY > const &AB, Xtrans< TZ > const &trCC)
 Multiplication of a multiplication proxy XY with a transposition proxy Xtrans. More...
 
template<typename TX , typename TY , typename TZ >
XYZ< TX, TY, TZ > mat::operator* (XY< TX, TY > const &AB, TZ const &CC)
 Multiplication of a multiplication proxy XY with an object of type TZ. More...
 
template<typename TX , typename TY , typename TZ , typename TU , typename TV >
XYZpUV< TX, TY, TZ, TU, TV > mat::operator+ (XYZ< TX, TY, TZ > const &ABC, XY< TU, TV > const &DE)
 Addition of two multiplication proxys XYZ and XY. More...
 
template<typename TX , typename TY >
XpY< TX, TY > mat::operator+ (TX const &AA, TY const &BB)
 Addition of two objects of type TX and TY. More...
 
template<typename TX , typename TY >
XmY< TX, TY > mat::operator- (TX const &AA, TY const &BB)
 Substraction of two objects of type TX and TY. More...
 

Detailed Description

Proxy structs used by the matrix API

This file contains proxy structs that are used by the matrix API classes to enable operator syntax when using the API.

Copyright(c) Emanuel Rubensson 2005

Author
Emanuel Rubensson responsible author
Date
February 2005