|Re: [eigen] Matrix assignment|
[ Thread Index |
| More lists.tuxfamily.org/eigen Archives
Thanks a lot !
On Friday 24 October 2008 23:44:12 Gael Guennebaud wrote:
> this one is done:
> SVN commit 875595 by ggael:
> As discussed on ML:
> * remove the automatic resizing feature of operator =
> * add function Matrix::set() to be used when the previous behavior is
> wanted * the default constructor of dynamic-size matrices now creates a
> "null" matrix (data=0, rows = cols = 0) instead of a 1x1 matrix
> * fix UnixX typos ;)
> On Tue, Oct 21, 2008 at 6:58 PM, Gael Guennebaud
> <gael.guennebaud@xxxxxxxxx> wrote:
> > On Tue, Oct 21, 2008 at 6:47 PM, Benoît Jacob <jacob@xxxxxxxxxxxxxxx>
> >> Pretty good idea!
> >> We'll just need to make clear in the docs: "if you use the default
> >> Matrix() constructor for a dynamic-size matrix, then you need to set()
> >> this matrix before doing anything else with it".
> >> Seems reasonable to me, and i like the idea of avoiding all that
> >> overhead in dynamic matrix assignment; even if it was negligible in
> >> terms of time, it generated code, for every different expression type we
> >> assigned, which could be non-negligible.
> > make sense to me too.
> > gael.