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

gear::VectorND_T< N, Float_T > Class Template Reference

Trivial N-dimensional vector. More...

#include <Vectors.h>

List of all members.

Public Member Functions

Float_T & operator[] (unsigned i)
 The i-th coordinate.

Float_T operator[] (unsigned i) const

Protected Attributes

Float_T _c [N]


Detailed Description

template<int N, typename Float_T = double>
class gear::VectorND_T< N, Float_T >

Trivial N-dimensional vector.

Access to coordinates is provided through the [] operator. Could be replaced or make use of a a more elaborate implementation, e.g. from CLHEP or root::MathCore in the future.

Author:
F. Gaede, DESY
Version:
Id
Vectors.h,v 1.3 2006/08/24 14:23:07 gaede Exp


The documentation for this class was generated from the following file:
Generated on Tue Sep 5 11:36:33 2006 for Gear by doxygen 1.3.5