Main Page | Modules | Class Hierarchy | Class List | File List | Class Members

ltl::FVector< T, N, S > Class Template Reference
[The classes ltl::FVector and ltl::FMatrix]

Vector whose length is known at compile time. More...

#include <fvector.h>

List of all members.

Public Types

Public Member Functions

Static Public Member Functions

Friends

Related Functions

(Note that these are not member functions.)

Detailed Description

template<class T, int N, int S = 0>
class ltl::FVector< T, N, S >

Vector whose length is known at compile time.

Can either have its own memory region or reference foreign memory, for example when representing a column-vector of a matrix

The template parameter S is a 'stride' for the foreign memory: when we reference a column vector we need a stride of M (if the matrix is MxN). Memory handling is encapsulated in the class FVMemory. To make life easier for the compiler/optimizer, there is a specialization of FVMemory with _no_ stride at all and an own new embedded block of memory. This is indicated by S=0, which is also the default case.

STL-compatible iterators and types.


The documentation for this class was generated from the following file:
Generated on Fri Dec 24 13:32:04 2004 for LTL by doxygen 1.3.4