]> www.ginac.de Git - ginac.git/blobdiff - ginac/inifcns.cpp
- in the output, list delimiters are now { } and matrix delimiters are [ ]
[ginac.git] / ginac / inifcns.cpp
index 7081eb5b333ebe22f7fd365e80a0a513d60e0603..de5522ad119ef9e2b30a392a8122bb8e74683f1c 100644 (file)
@@ -509,20 +509,6 @@ ex lsolve(const ex &eqns, const ex &symbols)
        return sollist;
 }
 
-/** non-commutative power. */
-ex ncpow(const ex & basis, unsigned exponent)
-{
-       if (exponent == 0)
-               return _ex1();
-
-       exvector v;
-       v.reserve(exponent);
-       for (unsigned i=0; i<exponent; ++i)
-               v.push_back(basis);
-
-       return ncmul(v, true);
-}
-
 // Symmetrize/antisymmetrize over a vector of objects
 static ex symm(const ex & e, exvector::const_iterator first, exvector::const_iterator last, bool asymmetric)
 {