[eigen] ArrayXXf::matrix().applyOnTheLeft(...) |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: Eigen development <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] ArrayXXf::matrix().applyOnTheLeft(...)
- From: Rhys Ulerich <rhys.ulerich@xxxxxxxxx>
- Date: Fri, 30 May 2014 14:08:12 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=d5vZSkV3FUCzyIIdzbQ0o168rGFPGLC2AcQ5bqMBZsA=; b=j/VGi2KFDM9Bu26EBrIo7GQs9KItrJiDVyM6gIHJNBlPMnAPcgR/tQmIM2cuvCAwBS EzyDv8bpB27qtPOTmo3XnH+K0JN3dEO5xuFTE1KbCPpS/ZZlZDXzmNFbdLtivAHJMnkm oZoGEBEZSkTqhC1T9J5jbejY8Y9i4I1kISQYDZQSI8jrwYotCTAQco+j9kjIfpIxIV9Z dimxfXZp89HMUZQmMeHSxzIuu1oCZHz8VsW690XwMQg7V+oaQ3M286uoEiIsuFX5+m7m s/ERqcm84gN665yjXPDTi9NnAExZMTY7QtiAqmcw/MTiME39Yx6De69J4ahZq114AxIK CDHQ==
'Afternoon,
The following works in Eigen 3.2.1:
VectorXf x = VectorXf::Random(48);
MatrixXf A = MatrixXf::Random(48, 6);
A.applyOnTheLeft(x.transpose());
This continuation, which looks equivalent, trips assertions in
DenseBase<Derived>::lazyAssign:
ArrayXXf B = ArrayXXf::Random(48, 6);
B.matrix().applyOnTheLeft(x.transpose());
Should I expect that second situation to work? If not, I'll file a ticket.
- Rhys