eigen/doc/examples/Cwise_erfc.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
177 B
C++
Raw Permalink Normal View History

2016-07-12 22:47:39 +08:00
#include <Eigen/Core>
#include <unsupported/Eigen/SpecialFunctions>
#include <iostream>
int main() {
Eigen::Array4d v(-0.5, 2, 0, -7);
2016-07-12 22:47:39 +08:00
std::cout << v.erfc() << std::endl;
}