android13/external/eigen/demos/mix_eigen_and_c
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
README initial 2024-06-22 20:45:49 +08:00
binary_library.cpp initial 2024-06-22 20:45:49 +08:00
binary_library.h initial 2024-06-22 20:45:49 +08:00
example.c initial 2024-06-22 20:45:49 +08:00

README

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