This code illustrates how simple it is to pass n-dimensional (or in this case 2D) numpy arrays from python to c++ vectors and back. Allowing computationally expensive code to be easily written in c++ ...