diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-25 14:17:07 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-03-25 14:17:07 +0100 |
commit | 35f7829af10c61e33dd2e2a7a015058e11a11ea0 (patch) | |
tree | 7135010dcf8fd0a49f3020d52112709bcb883bd6 /eigen/doc/snippets/TopicAliasing_mult4.cpp | |
parent | 6e8724193e40a932faf9064b664b529e7301c578 (diff) |
update
Diffstat (limited to 'eigen/doc/snippets/TopicAliasing_mult4.cpp')
-rw-r--r-- | eigen/doc/snippets/TopicAliasing_mult4.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/eigen/doc/snippets/TopicAliasing_mult4.cpp b/eigen/doc/snippets/TopicAliasing_mult4.cpp new file mode 100644 index 0000000..8a8992f --- /dev/null +++ b/eigen/doc/snippets/TopicAliasing_mult4.cpp @@ -0,0 +1,5 @@ +MatrixXf A(2,2), B(3,2); +B << 2, 0, 0, 3, 1, 1; +A << 2, 0, 0, -2; +A = (B * A).cwiseAbs(); +cout << A;
\ No newline at end of file |