GEAR  1.9.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Pages
Public Member Functions | Protected Attributes | List of all members
gear::VectorND_T< N, Float_T > Class Template Reference

Trivial N-dimensional vector. More...

#include <Vectors.h>

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$

Definition at line 20 of file Vectors.h.


The documentation for this class was generated from the following file: