Re: [eigen] Matrix with custom type ?

[ Thread Index | Date Index | More Archives ]

Hi Boris,

of course you can. What you have to do is to specialize the Eigen::NumTraits<> structure for your type.
See the NumTraits.h file.


On Thu, Apr 24, 2008 at 9:40 AM, Boris Mansencal <boris.mansencal@xxxxxxxx> wrote:

I am totally new to eigen.
I have a simple question : is it possible to use Matrix from eigen(2) with a custom type ?
I would like to use it for custom types for which I can define arithmetic operations...

Thanks a lot,


Mail converted by MHonArc 2.6.19+