Registered Member
|
Hello,
I have a template Rational class (which I use to represesent fractions of different kinds). So for example I have: Rational<RationalInteger> (the main value of a RationalInteger is a long int) Rational<QuadraticInteger> (main value of a QuadraticInteger: two mpz_class from GMP) Rational<RCyclotomic7Integer> (three mpz_class) And I added a specialization of struct Eigen::NumTraits. My question is the following:
Thanks a lot. Best |
Moderator
|
If you use 3.3 (which is highly recommended for custom scalar types), just use Eigen::HugeCost meaning that the cost is large enough so that Eigen should not bother about unrolling.
|
Registered Member
|
I don't since it was indicated as beta but I will consider it.
|
Moderator
|
|
Registered Member
|
Yeah, I just went to the bug tracker and saw that the only list bugs with 3.3 were related to the documentation...
Now that I'm here: is there a way I could help with Eigen? |
Moderator
|
That depends how you're willing to help, skills and motivations ! There is a non exhaustive list of "junior-job" there: http://eigen.tuxfamily.org/bz/buglist.c ... t=advanced
but help is welcome on the documentation side. For instance, the page on custom scalar type is a bit outdated. |
Registered Member
|
It would be best if I start to help with the documentation (and this autumn, when by thesis is finished I may try to help with code as well).
|
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]