[eigen] [RFC] symbolic computations using eigen

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]

Hello all,
I wanted to check some equations in mechanics so I wrote these small classes for doing symbolic computations in Eigen. Please find the code attached with this mail.
It offers very basic features like additions,subtractions, products of multinomials and can be used as scalar types in Eigen matrices. There is no evaluation for the multinomials so far, and the output is handwritten inside the class.
The classes have been on my hard drive for a while and I thought you may find these features useful enough for a potential inclusion in Eigen.

Note these classes rely on hash_maps for fast lookup. A drawback I found with hash maps is that the most time is spent in the constructor. Do you know any other structure that offers the same benefits (fast insertion/lookup) but does not take as much time to create?

Best regards

Tim Hunter

Timothy Hunter
Student (Stanford University)

T. 404 421 3075

Attachment: symbolic.tar.bz2
Description: application/bzip-compressed-tar

Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/