]> www.ginac.de Git - ginac.git/blobdiff - ginac/idx.h
added missing minimal_dim() from 1.1 branch
[ginac.git] / ginac / idx.h
index ecc6f468439bb7c25d9fc12b2cdcfcd2077bc711..3811a4efe400123bc1d0f63303b87ec36ef3fc7b 100644 (file)
@@ -263,6 +263,11 @@ inline unsigned count_free_indices(const exvector & v)
        return free_indices.size();
 }
 
+/** Return the minimum of two index dimensions. If this is undecidable,
+ *  throw an exception. Numeric dimensions are always considered "smaller"
+ *  than symbolic dimensions. */
+ex minimal_dim(const ex & dim1, const ex & dim2);
+
 } // namespace GiNaC
 
 #endif // ndef __GINAC_IDX_H__