aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/Cwise_erfc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/snippets/Cwise_erfc.cpp')
-rw-r--r--doc/snippets/Cwise_erfc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/snippets/Cwise_erfc.cpp b/doc/snippets/Cwise_erfc.cpp
new file mode 100644
index 000000000..f0453d4b1
--- /dev/null
+++ b/doc/snippets/Cwise_erfc.cpp
@@ -0,0 +1,2 @@
+Array4d v(-0.5,2,0,-7);
+cout << v.erfc() << endl;