Added Jacobian of things that could be used in iteration
Very fast in C++ (less than a microsecond for 4 outputs in the Jacobian), but 10 microseconds in Python for 2. Need to find a way to make it closer to original speed. Perhaps pass in a buffer to be populated. That should allow the copy to be avoided. It must be the Eigen arrays that are so slow.
Showing
- include/teqp/derivs.hpp 73 additions, 0 deletionsinclude/teqp/derivs.hpp
- interface/pybind11_wrapper.cpp 8 additions, 0 deletionsinterface/pybind11_wrapper.cpp
- interface/pybind11_wrapper.hpp 2 additions, 1 deletioninterface/pybind11_wrapper.hpp
- src/bench_derivbox.cpp 5 additions, 0 deletionssrc/bench_derivbox.cpp
Loading
Please register or sign in to comment