]> www.ginac.de Git - ginac.git/blobdiff - ginac/power.h
* Tweak around problem with unexpanded GINAC_DECLARE_REGISTER_CLASS macros.
[ginac.git] / ginac / power.h
index 08c8a75a5b1ab9f7a1f5ad6c018f1f794a963476..24e46f889ecf8219a6554d1718a6c6a7cd3ff507 100644 (file)
@@ -3,7 +3,7 @@
  *  Interface to GiNaC's symbolic exponentiation (basis^exponent). */
 
 /*
- *  GiNaC Copyright (C) 1999-2000 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2001 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
@@ -43,16 +43,6 @@ class power : public basic
 
 // member functions
 
-       // default constructor, destructor, copy constructor assignment operator and helpers
-public:
-       power();
-       ~power();
-       power(const power & other);
-       const power & operator=(const power & other);
-protected:
-       void copy(const power & other);
-       void destroy(bool call_parent);
-
        // other constructors
 public:
        power(const ex & lh, const ex & rh);
@@ -60,7 +50,6 @@ public:
 
        // functions overriding virtual functions from bases classes
 public:
-       basic * duplicate() const;
        void print(std::ostream & os, unsigned upper_precedence = 0) const;
        void printraw(std::ostream & os) const;
        void printtree(std::ostream & os, unsigned indent) const;
@@ -80,7 +69,6 @@ public:
        ex simplify_ncmul(const exvector & v) 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;
        ex expand(unsigned options = 0) const;
@@ -105,11 +93,6 @@ protected:
        static unsigned precedence;
 };
 
-// global constants
-
-extern const power some_power;
-extern const type_info & typeid_power;
-
 // utility functions
 inline const power &ex_to_power(const ex &e)
 {