Fix compilation of doc

This commit is contained in:
Gael Guennebaud 2016-07-12 16:47:39 +02:00
parent 19614497ae
commit 9ab35d8ba4
6 changed files with 27 additions and 6 deletions

View File

@ -0,0 +1,9 @@
#include <Eigen/Core>
#include <unsupported/Eigen/SpecialFunctions>
#include <iostream>
using namespace Eigen;
int main()
{
Array4d v(-0.5,2,0,-7);
std::cout << v.erf() << std::endl;
}

View File

@ -0,0 +1,9 @@
#include <Eigen/Core>
#include <unsupported/Eigen/SpecialFunctions>
#include <iostream>
using namespace Eigen;
int main()
{
Array4d v(-0.5,2,0,-7);
std::cout << v.erfc() << std::endl;
}

View File

@ -0,0 +1,9 @@
#include <Eigen/Core>
#include <unsupported/Eigen/SpecialFunctions>
#include <iostream>
using namespace Eigen;
int main()
{
Array4d v(0.5,10,0,-1);
std::cout << v.lgamma() << std::endl;
}

View File

@ -1,2 +0,0 @@
Array4d v(-0.5,2,0,-7);
cout << v.erf() << endl;

View File

@ -1,2 +0,0 @@
Array4d v(-0.5,2,0,-7);
cout << v.erfc() << endl;

View File

@ -1,2 +0,0 @@
Array4d v(0.5,10,0,-1);
cout << v.lgamma() << endl;