Files
Polyhedron/external/eigen-3.4.0/demos/mix_eigen_and_c
Efim Beshmenev 7f9dc067a1 Initial commit
2026-07-10 19:16:42 +03:00
..
2026-07-10 19:16:42 +03:00
2026-07-10 19:16:42 +03:00
2026-07-10 19:16:42 +03:00
2026-07-10 19:16:42 +03:00

This is an example of how one can wrap some of Eigen into a C library.

To try this with GCC, do:

  g++ -c binary_library.cpp -O2 -msse2 -I ../..
  gcc example.c binary_library.o -o example -lstdc++
  ./example

TODO: add CMakeLists, add more explanations here