]> www.ginac.de Git - ginac.git/blobdiff - ginac/idx.h
Added complex conjugation methods and GiNaC function "conjugate".
[ginac.git] / ginac / idx.h
index 13004fd4db8359e36d723b63225773a6b1ccff19..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
@@ -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;