]> www.ginac.de Git - ginac.git/blobdiff - ginac/ncmul.h
- simplify_indexed() simplifies c*(M).i.j -> (M').i.j (c: numeric, M: matrix)
[ginac.git] / ginac / ncmul.h
index 5373a75ba329fe697a75e2a19ea00b202a3dbd8d..dd96a89132fdba32bf24eebd0e386350d243ad63 100644 (file)
@@ -25,9 +25,7 @@
 
 #include "exprseq.h"
 
-#ifndef NO_NAMESPACE_GINAC
 namespace GiNaC {
-#endif // ndef NO_NAMESPACE_GINAC
 
 /** Non-commutative product of expressions. */
 class ncmul : public exprseq
@@ -65,7 +63,7 @@ public:
        ex coeff(const symbol & s, int n=1) const;
        ex eval(int level=0) const;
        ex subs(const lst & ls, const lst & lr) const;
-       exvector get_indices(void) const;
+       exvector get_free_indices(void) const;
        ex thisexprseq(const exvector & v) const;
        ex thisexprseq(exvector * vp) const;
 protected:
@@ -101,8 +99,6 @@ inline const ncmul &ex_to_ncmul(const ex &e)
        return static_cast <const ncmul &>(*e.bp);
 }
 
-#ifndef NO_NAMESPACE_GINAC
 } // namespace GiNaC
-#endif // ndef NO_NAMESPACE_GINAC
 
 #endif // ndef __GINAC_NCMUL_H__