mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-15 02:43:14 +08:00
Fix compilation of doc
This commit is contained in:
parent
19614497ae
commit
9ab35d8ba4
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;
|
|
Loading…
x
Reference in New Issue
Block a user