Convert function from Python to C++
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

Write a C++ implementation of the following python function: https://pysal.readthedocs.io/en/v1.11.0/library/esda/moran.html

The implementation may use any freely available matrix, array, linear algebra, or other libraries. Please include test cases that show the function works properly.

The implementation should not act as a wrapper for the pysal library.

Working on this!
BrianSantoso 1 month ago
Sounds good! I will accept once complete.
EatingEmbers 1 month ago
Which code do you want to see implemented in C++, just the edsa.moran.Moran class?
BrianSantoso 1 month ago
That's correct, just the edsa.moran.Moran
EatingEmbers 1 month ago

Crowdsource coding tasks.

1 Solution


Hi,

This wasn't a solution, it's just a suggestion.

i have made a research, and i find out a library in C++, you might find it useful.

link: https://gdal.org/

This article contains a list of best libs, classified by context/ language.

link: https://medium.com/vcgi/introduction-to-geospatial-data-types-tools-and-programs-752ae96dd9f0

Hope you find that useful :)