[eigen] Small error in docs

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


mat3 = mat1.cwise().abs(mat2);
mat3 = mat1.cwise().abs2(mat2);

That's in the arithmetic section of the tutorial; note that abs and
abs2 are unary ops.

Keir



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