![]() Registered Member ![]()
|
Despite what ggael says here, implementation of implicit matrices is slightly more tedious than simply defining three functions. Here is a simple example that compiles on GCC 4.8.2 using Eigen 3.2.2.
Last edited by zCUt on Fri Oct 31, 2014 10:30 am, edited 1 time in total.
|
![]() Moderator ![]()
|
Thank you for sharing this example.
You can use Eigen::NumTraits<Scalar>::Real to define the RealScalar type. |
![]() Registered Member ![]()
|
I posted exactly for comments like this one!
![]() Updated my code accordingly. |
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]