]> www.ginac.de Git - ginac.git/blobdiff - ginac/indexed.h
documentation update
[ginac.git] / ginac / indexed.h
index 301f2d748669091813efc21b3011f8ca7110ac2c..cba48c88d9d6440ee192300e874a62eae18d6195 100644 (file)
@@ -151,11 +151,12 @@ public:
 
        // functions overriding virtual functions from base classes
 public:
-       void printraw(std::ostream & os) const;
-       void printtree(std::ostream & os, unsigned indent) const;
-       void print(std::ostream & os, unsigned upper_precedence=0) const;
+       void print(const print_context & c, unsigned level = 0) const;
        bool info(unsigned inf) const;
        ex eval(int level = 0) const;
+       int degree(const ex & s) const;
+       int ldegree(const ex & s) const;
+       ex coeff(const ex & s, int n = 1) const;
        exvector get_free_indices(void) const;
 
 protected:
@@ -184,9 +185,7 @@ public:
        exvector get_dummy_indices(const indexed & other) const;
 
 protected:
-       void printrawindices(std::ostream & os) const;
-       void printtreeindices(std::ostream & os, unsigned indent) const;
-       void printindices(std::ostream & os) const;
+       void printindices(const print_context & c, unsigned level) const;
        void assert_all_indices_of_type_idx(void) const;
 
        // member variables