#include "basic.h"
#include "ex.h"
-#ifndef NO_GINAC_NAMESPACE
+#ifndef NO_NAMESPACE_GINAC
namespace GiNaC {
-#endif // ndef NO_GINAC_NAMESPACE
+#endif // ndef NO_NAMESPACE_GINAC
/** Basic CAS symbol. It has a name because it must know how to output itself.
* It may be assigned an expression, but this feature is only intended for
int ldegree(const symbol & s) const;
ex coeff(const symbol & s, int n = 1) const;
ex eval(int level = 0) const;
- ex diff(const symbol & s) const;
- ex series(const symbol & s, const ex & point, int order) const;
+ ex series(const relational & s, int order) const;
ex normal(lst &sym_lst, lst &repl_lst, int level=0) const;
ex subs(const lst & ls, const lst & lr) const;
protected:
+ ex derivative(const symbol & s) const;
int compare_same_type(const basic & other) const;
bool is_equal_same_type(const basic & other) const;
unsigned return_type(void) const;
public:
void assign(const ex & value);
void unassign(void);
- ex diff(const symbol & s, unsigned nth) const;
void setname(const string & n) {name=n;}
string getname(void) const {return name;}
private:
inline int ldegree(const symbol & a, const symbol & s)
{ return a.ldegree(s); }
-#ifndef NO_GINAC_NAMESPACE
+#ifndef NO_NAMESPACE_GINAC
} // namespace GiNaC
-#endif // ndef NO_GINAC_NAMESPACE
+#endif // ndef NO_NAMESPACE_GINAC
#endif // ndef __GINAC_SYMBOL_H__