#include "print.h"
#include "archive.h"
#include "debugmsg.h"
+#include "tostring.h"
#include "utils.h"
namespace GiNaC {
}
//////////
-// functions overriding virtual functions from bases classes
+// functions overriding virtual functions from base classes
//////////
// public
return inherited::info(inf);
}
-ex symbol::expand(unsigned options) const
-{
- return this->hold();
-}
-
-bool symbol::has(const ex & other) const
-{
- if (this->is_equal(*other.bp))
- return true;
- else
- return false;
-}
-
int symbol::degree(const ex & s) const
{
return is_equal(*s.bp) ? 1 : 0;
return serial==o->serial;
}
-unsigned symbol::return_type(void) const
-{
- return return_types::commutative;
-}
-
-unsigned symbol::return_type_tinfo(void) const
-{
- return tinfo_key;
-}
-
unsigned symbol::calchash(void) const
{
// this is where the schoolbook method