TuttleOFX  1
Matrix.hpp File Reference
#include <boost/numeric/ublas/storage.hpp>
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/vector.hpp>
#include <memory>
Include dependency graph for Matrix.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  terry::math::Matrix< T, SO, Alloc >
struct  terry::math::BoundedMatrix< T, M, N, SO >
struct  terry::math::Vector< T, Alloc >
struct  terry::math::BoundedVector< T, S >

Namespaces

namespace  terry
namespace  terry::math

Defines

#define BOOST_UBLAS_SHALLOW_ARRAY_ADAPTOR
#define TERRY_DEFINE_MATRIX_TYPES(TYPE, ORDER, ORDERSTR, POST)
#define TERRY_DEFINE_TYPES(TYPE, POST)

Typedefs

typedef
boost::numeric::ublas::row_major 
terry::math::DefaultStorageOrder

Define Documentation

#define BOOST_UBLAS_SHALLOW_ARRAY_ADAPTOR

Definition at line 5 of file Matrix.hpp.

#define TERRY_DEFINE_MATRIX_TYPES (   TYPE,
  ORDER,
  ORDERSTR,
  POST 
)
Value:
\
        typedef Matrix<TYPE,ORDER>::Type Matrix##ORDERSTR##POST; \
        typedef Matrix<TYPE,ORDER>::ShallowType MatrixView##ORDERSTR##POST; \
        typedef Matrix<TYPE,ORDER>::ShallowStorageType MatrixViewInit##ORDERSTR##POST; \
        \
        typedef BoundedMatrix<TYPE, 2, 2, ORDER>::Type BoundedMatrix2x2##ORDERSTR##POST; \
        typedef BoundedMatrix<TYPE, 2, 3, ORDER>::Type BoundedMatrix2x3##ORDERSTR##POST; \
        typedef BoundedMatrix<TYPE, 2, 4, ORDER>::Type BoundedMatrix2x4##ORDERSTR##POST; \
        \
        typedef BoundedMatrix<TYPE, 3, 2, ORDER>::Type BoundedMatrix3x2##ORDERSTR##POST; \
        typedef BoundedMatrix<TYPE, 3, 3, ORDER>::Type BoundedMatrix3x3##ORDERSTR##POST; \
        typedef BoundedMatrix<TYPE, 3, 4, ORDER>::Type BoundedMatrix3x4##ORDERSTR##POST; \
        \
        typedef BoundedMatrix<TYPE, 4, 2, ORDER>::Type BoundedMatrix4x2##ORDERSTR##POST; \
        typedef BoundedMatrix<TYPE, 4, 3, ORDER>::Type BoundedMatrix4x3##ORDERSTR##POST; \
        typedef BoundedMatrix<TYPE, 4, 4, ORDER>::Type BoundedMatrix4x4##ORDERSTR##POST; \

Definition at line 84 of file Matrix.hpp.

#define TERRY_DEFINE_TYPES (   TYPE,
  POST 
)
Value:
\
        TERRY_DEFINE_MATRIX_TYPES( TYPE, boost::numeric::ublas::row_major, , POST ) \
        TERRY_DEFINE_MATRIX_TYPES( TYPE, boost::numeric::ublas::column_major, C, POST ) \
        TERRY_DEFINE_MATRIX_TYPES( TYPE, boost::numeric::ublas::row_major, R, POST ) \
        \
        typedef Vector<TYPE>::Type Vector##POST; \
        typedef Vector<TYPE>::ShallowType VectorView##POST; \
        \
        typedef boost::numeric::ublas::shallow_array_adaptor<TYPE> ArrayViewInit##POST; \
        \
        typedef BoundedVector<TYPE, 2>::Type BoundedVector2##POST; \
        typedef BoundedVector<TYPE, 3>::Type BoundedVector3##POST; \
        typedef BoundedVector<TYPE, 4>::Type BoundedVector4##POST; \

Definition at line 103 of file Matrix.hpp.