mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix compilation of doc
This commit is contained in:
9
doc/examples/Cwise_erf.cpp
Normal file
9
doc/examples/Cwise_erf.cpp
Normal 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;
|
||||
}
|
||||
9
doc/examples/Cwise_erfc.cpp
Normal file
9
doc/examples/Cwise_erfc.cpp
Normal 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;
|
||||
}
|
||||
9
doc/examples/Cwise_lgamma.cpp
Normal file
9
doc/examples/Cwise_lgamma.cpp
Normal 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;
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
Array4d v(-0.5,2,0,-7);
|
||||
cout << v.erf() << endl;
|
||||
@@ -1,2 +0,0 @@
|
||||
Array4d v(-0.5,2,0,-7);
|
||||
cout << v.erfc() << endl;
|
||||
@@ -1,2 +0,0 @@
|
||||
Array4d v(0.5,10,0,-1);
|
||||
cout << v.lgamma() << endl;
|
||||
Reference in New Issue
Block a user