]> www.ginac.de Git - ginac.git/blobdiff - ginac/idx.h
added online help for conjugate()
[ginac.git] / ginac / idx.h
index 16c515f22380e7c929f09d30a46fa5bebf35b0fb..97538d77f6864857c0df97a7481b1be63ee82fb1 100644 (file)
@@ -3,7 +3,7 @@
  *  Interface to GiNaC's indices. */
 
 /*
- *  GiNaC Copyright (C) 1999-2003 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2004 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -94,7 +94,7 @@ public:
        ex minimal_dim(const idx & other) const;
 
 protected:
-       void do_print_idx(const print_context & c, unsigned level) const;
+       void print_index(const print_context & c, unsigned level) const;
        void do_print(const print_context & c, unsigned level) const;
        void do_print_latex(const print_latex & c, unsigned level) const;
        void do_print_tree(const print_tree & c, unsigned level) const;
@@ -172,6 +172,8 @@ public:
        // functions overriding virtual functions from base classes
 public:
        bool is_dummy_pair_same_type(const basic & other) const;
+       // complex conjugation
+       ex conjugate() const { return toggle_dot(); }
 
 protected:
        bool match_same_type(const basic & other) const;