dehnert f0f9831ac3 reworked CMake stuff a bit, removed some superfluous things 9 years ago
..
README upgrade to eigen 3.3 and made modifications for different value types via template specializations 9 years ago
binary_library.cpp upgrade to eigen 3.3 and made modifications for different value types via template specializations 9 years ago
binary_library.h upgrade to eigen 3.3 and made modifications for different value types via template specializations 9 years ago
example.c upgrade to eigen 3.3 and made modifications for different value types via template specializations 9 years ago

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