Re: [eigen] Index type for PermutationMatrix and Transpositions |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Index type for PermutationMatrix and Transpositions
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Tue, 25 Jan 2011 10:34:05 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=RuIaaiO4ilclquSOF5MCaHants6C21kQJI2gbwMe2x4=; b=d+BYtauYztIDJ/1wccJAGBFkmZ5lN2HY6hdIvRwE9PZHcJEBgEHn3Fy17n2OCthwV/ irtZlzVeO5rAGzB0vBe76fV4EraZEmxUUmwLOfAKkUZNqXEZu5vWdONi53XQJPFTtHwW q4YZ1Mfbi78bw2pwpiecauR4wZbXCRe0emOz4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=IK9HOSqvr6+h5WJj92mTaMmsc5j1NX0OHPGqkEK0Srrh2QH+FX2XdT6JTQckhfcAzw 7UTwEUsEsAB/qrE0lctFUJjdLoeyrOO5db0B9lIuojYEI3vBrVN8qPX/TtCR9xJBC5PR /dmHp3a94KqMG7JZEwJMEMgrk0yjUHBtol1MQ=
yes for sparse matrices we can already control the index type, and
that's also why it is important to have this IndexType parameter in
PermutationMatrix and Transpositions.
gael
On Tue, Jan 25, 2011 at 10:29 AM, Helmut Jarausch
<jarausch@xxxxxxxxxxxxxxxxxxx> wrote:
> On 01/25/11 10:11:22, Gael Guennebaud wrote:
>> Since it is unbelievable
>> that one day someone will perform a LU or LDLT dec on a matrix
>> requiring 64bits integers for the indices (think about the size of
>> the
>> matrix!), I think it is safe to use int there too.
>
> I agree for dense matrices, but a tridiagonal matrix of size 2^32
> isn't out of range (IMHO). So the situation might be different for
> sparse matrices - even in the near future.
>
> Helmut.
>
>
> --
> Helmut Jarausch
> Lehrstuhl fuer Numerische Mathematik
> RWTH - Aachen University
> D 52056 Aachen, Germany
>
>
>