]> www.ginac.de Git - ginac.git/blobdiff - ginac/exprseq.h
Transform abs(x)^n => x^n if x is real and n is even.
[ginac.git] / ginac / exprseq.h
index ea755c34150b0e925c6f55f968a1f826f32ab447..d19472414cc39f2e2789842f15713430d3f0bfb0 100644 (file)
@@ -3,7 +3,7 @@
  *  Definition of GiNaC's exprseq. */
 
 /*
- *  GiNaC Copyright (C) 1999-2005 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2011 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
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
-#ifndef __GINAC_EXPRSEQ_H__
-#define __GINAC_EXPRSEQ_H__
-
-#include <vector>
+#ifndef GINAC_EXPRSEQ_H
+#define GINAC_EXPRSEQ_H
 
 #include "container.h"
 
+#include <vector>
+
 namespace GiNaC {
 
 typedef container<std::vector> exprseq;
 
-/** Specialization of container::get_tinfo() for exprseq. */
-template<> inline unsigned exprseq::get_tinfo() { return TINFO_exprseq; }
-
 // defined in exprseq.cpp
 template<> bool exprseq::info(unsigned inf) const;
 
-/** Specialization of is_exactly_a<exprseq>(obj) for exprseq objects. */
-template<> inline bool is_exactly_a<exprseq>(const basic & obj)
-{
-       return obj.tinfo() == TINFO_exprseq;
-}
-
 } // namespace GiNaC
 
-#endif // ndef __GINAC_EXPRSEQ_H__
+#endif // ndef GINAC_EXPRSEQ_H