Re: [eigen] compilation failed for not aligned tiny matrix |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] compilation failed for not aligned tiny matrix
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Tue, 6 Oct 2009 09:27:37 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=ecUno9Ilms1AcA5Nc+GR5JVUixvQnsKzjqPg5hXTcb8=; b=QzioZkRm3nt//LQFjhfF7tYbqFC47hMuBMdwThZlKTmdRlJm0Vzn71Jz5rmp7ZnZKo zepkVwCHteiuaPkq3deq1HACm78j7ucYo3c6XuoE7800DJVMoyaNTZ42Goni1t89d3Jc 7KYfRk49iQxXK54Gx+OXVknuknEa4BC7A9IFU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=EWXrSo9hM46+CGk7TLl8ql5c5lcEb4EcnfYGvzIlk+yqKOnlJzoB9dU71mKnTQ3LIn GG0JndNhuWnw6fvFv9IzYJaWkIh3tf5Qq1vi74NCCfGZJH/8jzNJQXEoxTi0gwlz953P 9F7AlxVE/pwKccDIZBKU7Xs8ejJMRK3GGwMzg=
2009/10/6 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>:
> 2009/10/6 Gael Guennebaud <gael.guennebaud@xxxxxxxxx>:
>>
>> Hi,
>>
>> ok, here the bug is that computeInverse() expect a PlainMatrixType which in
>> your case is equivalent to TinyRMatrix but without the DontAlign option. Yes
>> that's a bug in Eigen.
>>
>> But now, I'm wondering why computeInverse is not a template function ? Think
>> about submatrices, or, e.g., to perform: m.transpose().computeInverse(inv);
>> - here m.transpose() is row major and so computeInverse will expect a row
>> major matrix.
>
> Yes, all these functions that take a ptr/ref to result should be
> template in the result type, you're perfectly right.
OK, done.
Benoit