[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen] Multiarray
- From: Stefan Ulbrich <s.ulbrich@xxxxxxxxxxxxxx>
- Date: Fri, 30 Jan 2009 17:40:03 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-mailer; bh=H9Un4oTfx/TAUAyxtC9ilYwSL9nutNFH5SgqLKHBdBE=; b=tyhyNCLDnLHRi0yMLh29Wsps0TH0oerENaeFwBPVxDm2B5YofrF3QnF7bBlVK+Rhfy tJsIDvQD5FPPlnBHCiYQ2GcEZjlur4kiWReE4t2ySy5rF9yP8qYFcHlQLYBXw3euxrWz Utbuy1gMzL19neQGdmzOcyN9WXDhiiizC3h7k=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=G+Rw4OVjBVX42IM1aG9UWHNPeC1YoZhy1j925DnuDO+qFylBpOv1A8/37uZItUBluD tCk5t3C1YXcQ9TiMMaYaSQNgU2BL2IPYGYKaEI5NYwKUDf8A4xwXi83qoFwqK0aELZHz ReNWa/4hl2I/4sZx6mMzPFryp8bwzKG9Rzya4=
Hello,
First thank you very much for this great library!
I want to store dynamically sized matrices in a boost::multi_array :
boost::multi_array<MatrixXd, 2> B(boost::extents[3][3]);
At runtime I get the following error from this call
Assertion failed: (rows > 0 && cols > 0 && "a matrix cannot be
resized to 0 size"), function resize, file /usr/local/include/Eigen/
src/Core/Matrix.h, line 229.
Has anybody an idea how to solve this problem?
Tank you alot in advance,
Stefan