Re: [eigen] block of dense-block should again be block

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


On Sun, Jun 27, 2010 at 4:27 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
> reducing the number of Block types would be valuable
> as it could result in shorter compilation and smaller executables.

another compiling argument is to ease the writing of recursive block
algorithms, e.g, currently:

template<typename M> void foo(const M& m)
{
  if(m.size() < threshold)
      // unblocked...
  else
     foo(m.block(....));
}

won't compile.

gael



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