Re: [eigen] State of eigen support for small integers(16 bit, signed/unsigned)

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


> Oh, actually, it looks like we don't have any support for bitwise
> shift at all. So you would have to add that feature from scratch. See
> the file Functors.h in Core or Array, you have to add a functor for
> that. This will be used as a CwiseUnaryOp so you could take the
> existing unary operations (like cwise().pow(x) since it too takes a
> parameter) as a starting point.

There is a Functors.h in both array and core. I looked at both. The
array one provides a EIGEN_FUNCTOR_PLUGIN. But I dont know how to put
it to use. Suggestions?

-- 
Rohit Garg

http://rpg-314.blogspot.com/

Senior Undergraduate
Department of Physics
Indian Institute of Technology
Bombay



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