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 almost 2 years ago
Sounds good! I will accept once complete.
EatingEmbers almost 2 years ago
Which code do you want to see implemented in C++, just the edsa.moran.Moran class?
BrianSantoso almost 2 years ago
That's correct, just the edsa.moran.Moran
EatingEmbers almost 2 years 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 :)