]> www.ginac.de Git - ginac.git/blobdiff - ginac/clifford.h
* New funny timing added: compute an antipode in Yukawa theory.
[ginac.git] / ginac / clifford.h
index 34329b06f65670835f060ef7fbdd484475a704d0..86978e98b3846cac2bee5507b1b247f5c1f744ec 100644 (file)
@@ -26,9 +26,7 @@
 #include <string>
 #include "lortensor.h"
 
-#ifndef NO_NAMESPACE_GINAC
 namespace GiNaC {
-#endif // ndef NO_NAMESPACE_GINAC
 
 
 /** This class holds an object representing an element of the Clifford
@@ -42,32 +40,20 @@ class clifford : public lortensor
 
        friend clifford clifford_gamma(const ex & mu);
 
-// member functions
-
-       // default constructor, destructor, copy constructor assignment operator and helpers
-public:
-       clifford();
-       ~clifford();
-       clifford(const clifford & other);
-       const clifford & operator=(const clifford & other);
-protected:
-       void copy(const clifford & other); 
-       void destroy(bool call_parent);
-
        // other constructors
 public:
        clifford(const std::string & n, const ex & mu);
+       clifford(const std::string & n, const exvector & iv);
+       clifford(const std::string & n, exvector * ivp);
 
        // functions overriding virtual functions from base 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;
        bool info(unsigned inf) const;
        // ex eval(int level=0) const;
 protected:
-       int compare_same_type(const basic & other) const;
        bool is_equal_same_type(const basic & other) const;
        ex simplify_ncmul(const exvector & v) const;
        ex thisexprseq(const exvector & v) const;
@@ -83,11 +69,6 @@ protected:
        // none
 };
 
-// global constants
-
-extern const clifford some_clifford;
-extern const std::type_info & typeid_clifford;
-
 // global functions
 inline const clifford &ex_to_clifford(const ex &e)
 {
@@ -96,8 +77,6 @@ inline const clifford &ex_to_clifford(const ex &e)
 
 clifford clifford_gamma(const ex & mu);
 
-#ifndef NO_NAMESPACE_GINAC
 } // namespace GiNaC
-#endif // ndef NO_NAMESPACE_GINAC
 
 #endif // ndef __GINAC_CLIFFORD_H__