]> www.ginac.de Git - ginac.git/blobdiff - ginac/indexed.h
* bernoulli(): Add Markus Nullmeier's new implementation.
[ginac.git] / ginac / indexed.h
index df05429e3eaa87a539c045c8e430c31939f6807d..a2ee74948533f2aec17d3a7cb7ca89df86d16225 100644 (file)
@@ -151,6 +151,7 @@ public:
        exvector get_free_indices(void) const;
 
 protected:
+       ex derivative(const symbol & s) const;
        ex thisexprseq(const exvector & v) const;
        ex thisexprseq(exvector * vp) const;
        unsigned return_type(void) const { return return_types::commutative; }
@@ -234,13 +235,6 @@ private:
 
 // utility functions
 
-/** Return the indexed object handled by an ex.
- *  This is unsafe: you need to check the type first. */
-inline const indexed &ex_to_indexed(const ex &e)
-{
-       return static_cast<const indexed &>(*e.bp);
-}
-
 /** Specialization of is_exactly_a<indexed>(obj) for indexed objects. */
 template<> inline bool is_exactly_a<indexed>(const basic & obj)
 {