Re: [eigen] Matrix assignment

[ Thread Index | Date Index | More Archives ]

On Tuesday 21 October 2008 16:02:22 Gael Guennebaud wrote:
> hm... resizeAssign sounds a bit weird to me. Perhaps with only one
> additional letter:
> m0.resizedAssign(m1);
> that can be interpreted as a shortcut for m0.resized().assign(m1);.
> Or, something much shorter and almost as explicit (IMO):
> m0.set(m1);
> I think it is quite clear that a "set" operation is allowed to resize
> the destination, isn't it ? another argument: when we allow the
> destination to be resized, that mean we are re-initializing the
> matrix, so "set" makes sense.

OK, I agree.



Mail converted by MHonArc 2.6.19+