1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include <Eigen/Eigen> #include <iostream> #ifndef M_PI #define M_PI 3.1415926535897932384626433832795 #endif using namespace Eigen; using namespace std; int main(int, char**) { cout.precision(3); ${snippet_source_code} return 0; }