Re: [eigen] How to return an Eigen matrix |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] How to return an Eigen matrix
- From: Manuel Yguel <manuel.yguel@xxxxxxxxx>
- Date: Sat, 1 Oct 2011 13:56:09 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=KNj5TefqxxAHlU64FlxJYluBtWhjqC6kdMayzvrGnxc=; b=FOTMLf6xmrE/QFUTTZP7QTKfLZu+HHGUPjzoS9VbI5o/xAdQnZo1MdSIvpWsA1ZFEi byLChlxn1yq7AYiGuoaoVcR/QtIbKp/obOUeU/bosFNq6ht09dWxAxnERtPyzWe3CGl9 CFtK94+54EpvXCa/PnK1bmkLUUHEY+bFDdIqU=
Just for the record, the error is that a
Matrix<T, 3, 5> is not a Matrix<T,Dynamic,Dynamic>: the types are different.
Actually I am not good enough with the compiler to understand why it
does not point that problem, but ideally it should.
I suggest that you read that following part in the tutorials:
http://eigen.tuxfamily.org/dox-devel/TutorialMatrixClass.html#TutorialMatrixDynamic
- best regards,
Manuel