From 9ab35d8ba49275f58e2093ecb0747ebc73c0c378 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 12 Jul 2016 16:47:39 +0200 Subject: Fix compilation of doc --- doc/examples/Cwise_erfc.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/examples/Cwise_erfc.cpp (limited to 'doc/examples/Cwise_erfc.cpp') 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; +} -- cgit v1.2.3