* 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
ncmul(const ex & f1, const ex & f2, const ex & f3,
const ex & f4, const ex & f5, const ex & f6);
ncmul(const exvector & v, bool discardable=false);
- ncmul(exvector * vp); // vp will be deleted
+ ncmul(std::auto_ptr<exvector> vp);
// functions overriding virtual functions from base classes
public:
ex evalm() const;
exvector get_free_indices() const;
ex thiscontainer(const exvector & v) const;
- ex thiscontainer(exvector * vp) const;
+ ex thiscontainer(std::auto_ptr<exvector> vp) const;
+ ex conjugate() const;
protected:
ex derivative(const symbol & s) const;
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;
};