]> www.ginac.de Git - ginac.git/blobdiff - ginac/indexed.h
lortensor class
[ginac.git] / ginac / indexed.h
index 3707e6290184d56d613b135a3ab0c7536a3df1ca..7b425ba0697495fa76372e86178489c7cc5daeaf 100644 (file)
@@ -26,7 +26,9 @@
 #include <string>
 #include <ginac/exprseq.h>
 
+#ifndef NO_GINAC_NAMESPACE
 namespace GiNaC {
+#endif // ndef NO_GINAC_NAMESPACE
 
 /** Base class for non-commutative indexed objects */
 class indexed : public exprseq
@@ -48,6 +50,7 @@ public:
     indexed(ex const & i1);
     indexed(ex const & i1, ex const & i2);
     indexed(ex const & i1, ex const & i2, ex const & i3);
+    indexed(ex const & i1, ex const & i2, ex const & i3, ex const & i4);
     indexed(exvector const & iv);
     indexed(exvector * iv);
 
@@ -94,6 +97,8 @@ inline const indexed &ex_to_indexed(const ex &e)
        return static_cast<const indexed &>(*e.bp);
 }
 
+#ifndef NO_GINAC_NAMESPACE
 } // namespace GiNaC
+#endif // ndef NO_GINAC_NAMESPACE
 
 #endif // ndef __GINAC_INDEXED_H__