]> www.ginac.de Git - ginac.git/blobdiff - ginac/indexed.h
- color and clifford classes are quite functional now
[ginac.git] / ginac / indexed.h
index cba48c88d9d6440ee192300e874a62eae18d6195..0147185ddd4630183ee7e78b23db134015fccadd 100644 (file)
@@ -215,6 +215,11 @@ public:
        /** Register scalar product pair and its value. */
        void add(const ex & v1, const ex & v2, const ex & sp);
 
+       /** Register list of vectors. This adds all possible pairs of products
+        *  a.i * b.i with the value a*b (note that this is not a scalar vector
+        *  product but an ordinary product of scalars). */
+       void add_vectors(const lst & l);
+
        /** Clear all registered scalar products. */
        void clear(void);