For such a popular and old algorithm, I've had surprisingly little luck finding implementations. I've got it working in MATLAB, but am curious if any other languages have libraries containing it (python?). I've googled extensively to no avail.

  • $\begingroup$ can you translate the MATLAB code into C/C++? $\endgroup$ – robert bristow-johnson Jun 7 '17 at 19:05
  • $\begingroup$ These things seem to be secrets lol you will not find any library, I wrote it in C, python and matlab some years ago $\endgroup$ – ederwander Aug 7 '17 at 23:18
  • $\begingroup$ Could you share your matlab implementation? $\endgroup$ – Filipe Pinto Jun 18 '18 at 12:34

When I'm looking for source code, I generally search the open repositories rather than Google.

Try this one in C++.

However, there don't seem to be many on github, and sourceforge has nothing of interest.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.