You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
dehnert 18b72bc8d7 Added necessary include of unistd.h (for close()) to parser. Removed flag MAP_DENYWRITE of mmap for Mac OS and Linux as it is non-existent and ignored, respectively. Changed call to stat64 to call to stat for MAC OS, as stat64 is deprecated and 64-bit mode is turned on by macro that is no correctly set during OS-Detection. 13 years ago
..
README Added Eigen3 library 13 years ago
binary_library.cpp Added Eigen3 library 13 years ago
binary_library.h Added Eigen3 library 13 years ago
example.c Added Eigen3 library 13 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