I have a library in C++ which I import in Python language. This library has a method that returns a float32 2D matrix (pointer), but I previously used a numpy array to represent this matrix. Now that I have this matrix made in C++ I can't use the methods of numpy library correctly. So is there any way of importing this matrix allocated in C++ to a numpy object?
Thanks in advance.