X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fncmul.h;h=b5cc1669281670c872f120d31b7a0016c24b02ae;hp=d04af7f5df982bb492e0eed88bdd61ac0aa89357;hb=f293ecba8b6026a7754795256b2f23910bf70507;hpb=2565309dd7c38635c191eacf2a4af9b23fc0d310 diff --git a/ginac/ncmul.h b/ginac/ncmul.h index d04af7f5..b5cc1669 100644 --- a/ginac/ncmul.h +++ b/ginac/ncmul.h @@ -23,11 +23,11 @@ #ifndef __GINAC_NCMUL_H__ #define __GINAC_NCMUL_H__ -#include +#include "exprseq.h" -#ifndef NO_GINAC_NAMESPACE +#ifndef NO_NAMESPACE_GINAC namespace GiNaC { -#endif // ndef NO_GINAC_NAMESPACE +#endif // ndef NO_NAMESPACE_GINAC /** Non-commutative product of expressions. */ class ncmul : public exprseq @@ -75,12 +75,12 @@ public: ex expand(unsigned options=0) const; ex coeff(const symbol & s, int n=1) const; ex eval(int level=0) const; - ex diff(const symbol & s) const; ex subs(const lst & ls, const lst & lr) const; exvector get_indices(void) const; ex thisexprseq(const exvector & v) const; ex thisexprseq(exvector * vp) const; protected: + ex derivative(const symbol & s) const; int compare_same_type(const basic & other) const; unsigned return_type(void) const; unsigned return_type_tinfo(void) const; @@ -118,8 +118,8 @@ inline const ncmul &ex_to_ncmul(const ex &e) return static_cast (*e.bp); } -#ifndef NO_GINAC_NAMESPACE +#ifndef NO_NAMESPACE_GINAC } // namespace GiNaC -#endif // ndef NO_GINAC_NAMESPACE +#endif // ndef NO_NAMESPACE_GINAC #endif // ndef __GINAC_NCMUL_H__