Re: [eigen] patch for tridiagonal matrices in eigen

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


This is template parameters, so we want them to be plain old ints.

Cheers,
Benoit

2008/12/19 Kenneth Riddile <kfriddile@xxxxxxxxx>:
> Ya, using exclusive flags there will definitely scale better than the current design.  Another option that also improves scalability might be to use a std::bitset.
>
> -Kenny Riddile
>
>
> --- On Fri, 12/19/08, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
>
>> From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
>> Subject: Re: [eigen] patch for tridiagonal matrices in eigen
>> To: eigen@xxxxxxxxxxxxxxxxxxx
>> Date: Friday, December 19, 2008, 12:25 PM
>> 2008/12/19 Mauro Iazzi <mauro.iazzi@xxxxxxxxx>:
>> > I do not understand properly the meaning of these
>> flags. For example
>> > part needs assumes some to be exclusive but not others
>> (i.e.
>> > UpperTriangular is not UpperHessenberg, but
>> StrictlyUpper is
>> > UpperTridiagonal...). If part() checked using ==
>> instead of & I think
>> > it would be safe to use the Flags to mark the type of
>> the matrix (it
>> > already does in some points).
>>
>> Hm, good remark.
>> It seems that the current design, whcih worked quite well
>> do far, does
>> not scale very well.
>> Maybe indeed it's time to start using exclusive flags
>> and == instead of &.
>>
>> Cheers,
>> Benoit
>>
>> ---
>
> ---
>
>

---


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