threed-beam-fea/ext/eigen-3.2.4/demos/mix_eigen_and_c
Ryan Latture 14d02526a6 Initial commit of open source version. 2015-11-05 10:36:26 -08:00
..
README Initial commit of open source version. 2015-11-05 10:36:26 -08:00
binary_library.cpp Initial commit of open source version. 2015-11-05 10:36:26 -08:00
binary_library.h Initial commit of open source version. 2015-11-05 10:36:26 -08:00
example.c Initial commit of open source version. 2015-11-05 10:36:26 -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