Re: [eigen] Commenting issue #110, disabling operator[] for matrices

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


> Another argument is that "the user mistakenly believes the matrix to
> be a vector" is a rather uncommon kind of mistake, no?

Well, it happened to me at least, back in the days as a young PhD
student, and it always bothered me that Matlab silently accepts this -
since mathematically it makes no sense. As long as the user knows what
he's doing, it's fine, sure. Still, it's never a bad idea to protect
the user from shooting himself in the foot...

Marton



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