diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-12-30 15:11:42 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-12-30 15:11:42 +0100 |
commit | 16dd82ed511ccaa1c783e71d46c1d2bcd9e19907 (patch) | |
tree | cb80ba7280b5ebd6a75d1c53aa819778738c1dc1 /doc/snippets/Cwise_sign.cpp | |
parent | 978c379ed7b42ac83c7e3fc84abbd88b9ec4e38b (diff) |
Add missing snippet for sign/cwiseSign functions.
Diffstat (limited to 'doc/snippets/Cwise_sign.cpp')
-rw-r--r-- | doc/snippets/Cwise_sign.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/snippets/Cwise_sign.cpp b/doc/snippets/Cwise_sign.cpp new file mode 100644 index 000000000..49920e4f1 --- /dev/null +++ b/doc/snippets/Cwise_sign.cpp @@ -0,0 +1,2 @@ +Array3d v(-3,5,0); +cout << v.sign() << endl; |