]> www.ginac.de Git - ginac.git/blobdiff - ginac/exprseq_suppl.cpp
- switched to automake build environment
[ginac.git] / ginac / exprseq_suppl.cpp
diff --git a/ginac/exprseq_suppl.cpp b/ginac/exprseq_suppl.cpp
new file mode 100644 (file)
index 0000000..22b35ec
--- /dev/null
@@ -0,0 +1,21 @@
+/** @file exprseq_suppl.cpp
+ *
+ *  Supplement to exprseq.cpp, contains the parts which were
+ *  not automatically generated. */
+
+#include "ginac.h"
+
+bool exprseq::info(unsigned inf) const
+{
+    if (inf==info_flags::exprseq) return 1;
+    return basic::info(inf);
+}
+
+ex & exprseq::let_op(int const i)
+{
+    ASSERT(i>=0);
+    ASSERT(i<nops());
+
+    return seq[i];
+}
+