[eigen] ArrayXXf::matrix().applyOnTheLeft(...)

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


'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



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