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_lgamma.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 doc/examples/Cwise_lgamma.cpp (limited to 'doc/examples/Cwise_lgamma.cpp') 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 -- cgit v1.2.3