This C++ headers only library provides tools for manipulating elements of algebras; the tensor algebra, free lie algebra etc. Early versions can be found in sourceforge. It is capable of calculations over many rings including the arbitrary precision rationals from gmp/mpir . The associated library libalgebra_tests has many examples of how to use the code. the pypy package wraps a version of it - with a simple interface (and vastly reduced functionality)
12
stars
2
forks
source link
Fixes a bug whereby _prod did not properly update the tensor #58
I think a better solution is to use cit->value() on the right hand side so we don't have to do another key lookup in the vector. The value is already on hand in the iterator. I will make these change and make sure the tests still pass.
shuffle is broken and this fixes it