mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
10 lines
190 B
C++
10 lines
190 B
C++
|
#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;
|
||
|
}
|