Re: [eigen] Re: VectorBase issue |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
OK I can see now that you had mentioned this as solution 2c: > c - define the overload in 2D matrix specific base class, i.e. in > VectorBase<Derived,false>: > class VectorBase<Derived,false> { > Scalar coeff(int,int); > etc. > }; > However this approach makes impossible to write generic code on > fixed-size matrix that might degenerate to vector of even 1x1 matrices... It took me a while to sort my thoughts on this issue! You know what.... nothing prevents us from implementing coeff(int,int) also in VectorBase, with an assert! Does that solve this issue? Cheers, Benoit
Attachment:
signature.asc
Description: This is a digitally signed message part.
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |