From 9ab35d8ba49275f58e2093ecb0747ebc73c0c378 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 12 Jul 2016 16:47:39 +0200 Subject: [PATCH] Fix compilation of doc --- doc/examples/Cwise_erf.cpp | 9 +++++++++ doc/examples/Cwise_erfc.cpp | 9 +++++++++ doc/examples/Cwise_lgamma.cpp | 9 +++++++++ doc/snippets/Cwise_erf.cpp | 2 -- doc/snippets/Cwise_erfc.cpp | 2 -- doc/snippets/Cwise_lgamma.cpp | 2 -- 6 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 doc/examples/Cwise_erf.cpp create mode 100644 doc/examples/Cwise_erfc.cpp create mode 100644 doc/examples/Cwise_lgamma.cpp delete mode 100644 doc/snippets/Cwise_erf.cpp delete mode 100644 doc/snippets/Cwise_erfc.cpp delete mode 100644 doc/snippets/Cwise_lgamma.cpp diff --git a/doc/examples/Cwise_erf.cpp b/doc/examples/Cwise_erf.cpp new file mode 100644 index 000000000..e7cd2c1c0 --- /dev/null +++ b/doc/examples/Cwise_erf.cpp @@ -0,0 +1,9 @@ +#include +#include +#include +using namespace Eigen; +int main() +{ + Array4d v(-0.5,2,0,-7); + std::cout << v.erf() << std::endl; +} diff --git a/doc/examples/Cwise_erfc.cpp b/doc/examples/Cwise_erfc.cpp new file mode 100644 index 000000000..d8bb04c30 --- /dev/null +++ b/doc/examples/Cwise_erfc.cpp @@ -0,0 +1,9 @@ +#include +#include +#include +using namespace Eigen; +int main() +{ + Array4d v(-0.5,2,0,-7); + std::cout << v.erfc() << std::endl; +} diff --git a/doc/examples/Cwise_lgamma.cpp b/doc/examples/Cwise_lgamma.cpp new file mode 100644 index 000000000..f1c4f503e --- /dev/null +++ b/doc/examples/Cwise_lgamma.cpp @@ -0,0 +1,9 @@ +#include +#include +#include +using namespace Eigen; +int main() +{ + Array4d v(0.5,10,0,-1); + std::cout << v.lgamma() << std::endl; +} \ No newline at end of file diff --git a/doc/snippets/Cwise_erf.cpp b/doc/snippets/Cwise_erf.cpp deleted file mode 100644 index 7f51c1b6a..000000000 --- a/doc/snippets/Cwise_erf.cpp +++ /dev/null @@ -1,2 +0,0 @@ -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 deleted file mode 100644 index f0453d4b1..000000000 --- a/doc/snippets/Cwise_erfc.cpp +++ /dev/null @@ -1,2 +0,0 @@ -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 deleted file mode 100644 index cbc69b989..000000000 --- a/doc/snippets/Cwise_lgamma.cpp +++ /dev/null @@ -1,2 +0,0 @@ -Array4d v(0.5,10,0,-1); -cout << v.lgamma() << endl; \ No newline at end of file