]> www.ginac.de Git - ginac.git/blobdiff - ginac/lorentzidx.h
* New funny timing added: compute an antipode in Yukawa theory.
[ginac.git] / ginac / lorentzidx.h
index 3d5355b7ec3dbb53ac0896f09f2b5853dc717df1..d4226e1bff313ec5fe40a698e1d128b019a417a5 100644 (file)
@@ -27,9 +27,7 @@
 #include <vector>
 #include "idx.h"
 
-#ifndef NO_NAMESPACE_GINAC
 namespace GiNaC {
-#endif // ndef NO_NAMESPACE_GINAC
 
 
 /** Class of indices for Lorentz tensors, to tell them apart from other
@@ -48,16 +46,6 @@ class lorentzidx : public idx
 
 // member functions
 
-       // default constructor, destructor, copy constructor assignment operator and helpers
-public:
-       lorentzidx();
-       ~lorentzidx();
-       lorentzidx (const lorentzidx & other);
-       const lorentzidx & operator=(const lorentzidx & other);
-protected:
-       void copy(const lorentzidx & other);
-       void destroy(bool call_parent);
-
        // other constructors
 public:
        explicit lorentzidx(bool cov, bool oonly=false, unsigned dimp=0);
@@ -69,7 +57,6 @@ public:
 
        // functions overriding virtual functions from bases classes
 public:
-       basic * duplicate() const;
        void printraw(std::ostream & os) const;
        void printtree(std::ostream & os, unsigned indent) const;
        void print(std::ostream & os, unsigned upper_precedence=0) const;
@@ -102,8 +89,6 @@ inline const lorentzidx &ex_to_lorentzidx(const ex &e)
 
 ex Dim(void);
 
-#ifndef NO_NAMESPACE_GINAC
 } // namespace GiNaC
-#endif // ndef NO_NAMESPACE_GINAC
 
 #endif // ndef __GINAC_LORENTZIDX_H__