]> www.ginac.de Git - ginac.git/blobdiff - ginac/ncmul.h
explain what we mean by "cofactor"
[ginac.git] / ginac / ncmul.h
index 0139a63fe74dce0f8be73f16763bf52d3e110213..436ae8c018e900eb7ae0174bb588ed215e637b1f 100644 (file)
@@ -3,7 +3,7 @@
  *  Interface to GiNaC's non-commutative products of expressions. */
 
 /*
- *  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
@@ -64,6 +64,7 @@ public:
        exvector get_free_indices() const;
        ex thiscontainer(const exvector & v) const;
        ex thiscontainer(std::auto_ptr<exvector> vp) const;
+       ex conjugate() const;
 
 protected:
        ex derivative(const symbol & s) const;
@@ -79,7 +80,7 @@ protected:
        void do_print_csrc(const print_context & c, unsigned level) const;
        size_t count_factors(const ex & e) const;
        void append_factors(exvector & v, const ex & e) const;
-       exvector expandchildren(unsigned options) const;
+       std::auto_ptr<exvector> expandchildren(unsigned options) const;
 public:
        const exvector & get_factors() const;
 };