diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-12-30 15:12:15 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-12-30 15:12:15 +0100 |
commit | b84cefe61dcc42ca83c37bbadf0ca0463f711758 (patch) | |
tree | e8f3707df0af74a3fec7ae01572489596529f5de /doc/snippets | |
parent | 16dd82ed511ccaa1c783e71d46c1d2bcd9e19907 (diff) |
Add missing snippets for erf/erfc/lgamma functions.
Diffstat (limited to 'doc/snippets')
-rw-r--r-- | doc/snippets/Cwise_erf.cpp | 2 | ||||
-rw-r--r-- | doc/snippets/Cwise_erfc.cpp | 2 | ||||
-rw-r--r-- | doc/snippets/Cwise_lgamma.cpp | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/doc/snippets/Cwise_erf.cpp b/doc/snippets/Cwise_erf.cpp new file mode 100644 index 000000000..7f51c1b6a --- /dev/null +++ b/doc/snippets/Cwise_erf.cpp @@ -0,0 +1,2 @@ +Array4d v(-0.5,2,0,-7); +cout << v.erf() << endl; 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; diff --git a/doc/snippets/Cwise_lgamma.cpp b/doc/snippets/Cwise_lgamma.cpp new file mode 100644 index 000000000..cbc69b989 --- /dev/null +++ b/doc/snippets/Cwise_lgamma.cpp @@ -0,0 +1,2 @@ +Array4d v(0.5,10,0,-1); +cout << v.lgamma() << endl;
\ No newline at end of file |