define a function to take a numpy array
We want the C++ function to take a numpy array of floats, Calculate the sum or mean and return a double to the python side.
-
1D array -
2d array
Edited by FARNUDI Ali
[A venir] Mise en place de quotas sur nos instances GitLab. Plus d'information sur : https://doc-si.inria.fr/pages/viewpage.action?pageId=129728565
[Coming soon] Quotas installation on our GitLab instances. More information: https://doc-si.inria.fr/pages/viewpage.action?pageId=129728565
We want the C++ function to take a numpy array of floats, Calculate the sum or mean and return a double to the python side.