]> www.ginac.de Git - ginac.git/blobdiff - ginac/basic.cpp
Added complex conjugation methods and GiNaC function "conjugate".
[ginac.git] / ginac / basic.cpp
index 01a29011152a9c9ff7b58620e7a0da71c7561d75..038cd7b571fdb6e93aca0f38569add33e6b9fc0f 100644 (file)
@@ -3,7 +3,7 @@
  *  Implementation of GiNaC's ABC. */
 
 /*
- *  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
@@ -674,6 +674,11 @@ exvector basic::get_free_indices() const
        return exvector(); // return an empty exvector
 }
 
+ex basic::conjugate() const
+{
+       return *this;
+}
+
 ex basic::eval_ncmul(const exvector & v) const
 {
        return hold_ncmul(v);