eigen/demos/mix_eigen_and_c
2012-07-13 14:42:47 -04:00
..
binary_library.cpp Automatic relicensing to MPL2 using Keirs script. Manual fixup follows. 2012-07-13 14:42:47 -04:00
binary_library.h Automatic relicensing to MPL2 using Keirs script. Manual fixup follows. 2012-07-13 14:42:47 -04:00
example.c Automatic relicensing to MPL2 using Keirs script. Manual fixup follows. 2012-07-13 14:42:47 -04:00
README * Introduce make targets btest (build tests), blas (build blas lib), demos (build demos). 2009-09-27 17:48:53 -04: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