aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/snippets/compile_snippet.cpp.in
blob: fdae39bcf356fe731b3f10b989964a421a2df91d (plain)
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;
}