[eigen] Small error in docs |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] Small error in docs
- From: Keir Mierle <mierle@xxxxxxxxx>
- Date: Sun, 1 Feb 2009 14:16:20 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=SOleDElF3Wk+B7XsydZtwqd6XlzGWh2F/KvRDr8ZgqE=; b=FXH9hklLQuiq/MoeZzx9S2E1eQSpk6OVFqG9qbUNRTrTo+W5vPk+hvPYmFyJv+bcB0 i1bC71ZJd7sWx6O9ForeGCQhCSQ4CPrcUAwJcWr5qAlhSKftuLwVHn9NuKr9iasPWbfx MEAHsO/eYubvM+HuqsWQ9cbvbPxuV4+L9oNDY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=kmLL4pWkXXGC3DIijLvo4XtmB3kQmpuCo+EYyBCW0oCZtaeIou1hw6tkfrB+2SV7CM nDI2P5QW+2b9SNi9GL/VFdEKSgvlzMRyGucc0OObbMlNJ9YY6QpIB6GHuyvJdYvnNx+p GL7skMyW1DqUrUSinq5OXjd/C/f/g/q0HJKcg=
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