COSC-4P80-Assignment-2/lib/eigen-3.4.0/demos/mix_eigen_and_c
Brett d6b96ce14f eigen because im a pussy 2024-10-21 16:42:03 -04:00
..
README eigen because im a pussy 2024-10-21 16:42:03 -04:00
binary_library.cpp eigen because im a pussy 2024-10-21 16:42:03 -04:00
binary_library.h eigen because im a pussy 2024-10-21 16:42:03 -04:00
example.c eigen because im a pussy 2024-10-21 16:42:03 -04: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