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*: WANG Xuewen <xuewen.wang@xxxxxxxxx>*Date*: Tue, 06 Oct 2009 16:16:48 +0200*Dkim-signature*: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=pByJlMBAml2FE12BsomHqr8ZpyPomkDB6HaYPzeBjZI=; b=JjGTHpc9EDd/1ev64sSmZpWcOilH9aNqqp+UMFvYcFYGfS95glciYzpjUTkQ/ZjWKu 8j0gvva7Bt5WOiuURoDTbw7Apb+5lF4cBB/tkjBiQZlTcG2aF/vTu02gjWq/6xTdKQA3 b36+pXgtIMYmL+zHbMTUEBZQaJlNURMHYBRpM=*Domainkey-signature*: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=dkQ0eh1/4F8hQiiSqyw3LEnGqs0a8x4mQJa8LNlkL8KR4KSYPa8LuRddEtpGYLq2H2 AvDF5w3xXJ1Q3e1pA8VpvODzgC0wgtQXs6Uz9Mtt0OHZfh3nWj9aqbsnnJtjKl5dSv4i CPb1cL5LwK32b4yOKH0QqXG8J3HBoTRCSf/OI=

Gael Guennebaud wrote:

Hi,ok, here the bug is that computeInverse() expect a PlainMatrixTypewhich in your case is equivalent to TinyRMatrix but without theDontAlign 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 majorand so computeInverse will expect a row major matrix.Moreover I'm wondering whether computeInverse() is still useful sincewe can make inv = a.inverse() works in place just like compute inverse.

Xuewen

**Follow-Ups**:**Re: [eigen] compilation failed for not aligned tiny matrix***From:*Benoit Jacob

**References**:**[eigen] compilation failed for not aligned tiny matrix***From:*WANG Xuewen

**Re: [eigen] compilation failed for not aligned tiny matrix***From:*Gael Guennebaud

**Messages sorted by:**[ date | thread ]- Prev by Date:
**Re: [eigen] compilation failed for not aligned tiny matrix** - Next by Date:
**Re: [eigen] compilation failed for not aligned tiny matrix** - Previous by thread:
**Re: [eigen] compilation failed for not aligned tiny matrix** - Next by thread:
**Re: [eigen] compilation failed for not aligned tiny matrix**

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