00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _FRAMETL_INDEX1D_H
00011 #define _FRAMETL_INDEX1D_H
00012
00013 namespace FrameTL
00014 {
00015
00024 template <class IBASIS>
00025 class Index1D
00026 {
00027 public:
00028
00032 Index1D (const typename IBASIS::Index& ind,
00033 const unsigned int p, const unsigned int dir,
00034 const unsigned int der);
00035
00040 bool operator < (const Index1D<IBASIS>& lambda) const;
00041
00045 bool operator == (const Index1D<IBASIS>& lambda) const;
00046
00050 bool operator != (const Index1D<IBASIS>& lambda) const;
00051
00056 bool operator <= (const Index1D<IBASIS>& lambda) const;
00057
00061 typename IBASIS::Index index() const { return ind_; };
00062
00066 unsigned int derivative() const { return der_; };
00067
00068
00072 unsigned int p() const { return p_; };
00073
00077 unsigned int direction() const { return dir_; };
00078
00079 protected:
00080
00084 typename IBASIS::Index ind_;
00085
00089 unsigned int p_;
00090
00094 unsigned int dir_;
00095
00099 unsigned int der_;
00100
00101 };
00102 }
00103 #include <index1D.cpp>
00104
00105 #endif