![]() Registered Member ![]()
|
I'm trying to make Eigen::Matrix operations work with a fixed point format that will handle the precision/rounding of multiply/divide and other opts associated with matrix operations. I settled on cnl::fixed_point as it's already included in most G++ distros.
I read on the Eigen site that I need NumTraits as well as math functions defined in order for Eigen to support custom types. I have this code:
I then try to do a Matrix multiply of a vector:
I get the following error though:
I can only imagine this means I failed to implement one of the required operators that Matrix multiplication requires? But I'm having a hard time figuring out what that operator is from the error message. Can someone with better eyes and understanding of this help? |
Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]