FX::Maths::Matrix< type, A, B > Class Template Reference

#include <FXMaths.h>

Inheritance diagram for FX::Maths::Matrix< type, A, B >:

FX::Maths::Impl::EquivType< base, type, equivtype > List of all members.

Detailed Description

template<typename type, unsigned int A, unsigned int B>
class FX::Maths::Matrix< type, A, B >

A fixed-length matrix.

This is the class to use when you want a SIMD optimised matrix. Internally it will specialise itself for when it is two power items wide (not high) to the same level as FX::Maths::Vector. If you don't want the constraints of SIMD, you can always use a FX::FXMat3f etc. It emulates the STL vector class so you can iterate it.

Note that a Matrix<Vector<float, 4>, 4, 4> works and is good for working with tensors.

Definition at line 1257 of file FXMaths.h.

Public Member Functions

 Matrix ()
 Matrix (const Base &o)
 Matrix (const typename Base::Base &o)
 Matrix (const type *d)
 Matrix (const type(*d)[A])
 operator equivtype & ()
 operator const equivtype & () const

Protected Types

typedef Impl::EquivType< Impl::MatrixI<
type, A, B >, type, void > 
Base


The documentation for this class was generated from the following file:
(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:38:02 2009 for TnFOX by doxygen v1.4.7