In python, we write like this when using "where":
grid=np.array([[1,2,3,0,0,4],[5,6,7,0,0,8]])
xs, ys = np.where(grid == 0)
but I don't know how to use "where" in Numpy.NET. I wrote like this but it proves to be wrong:
var array = new int[2, 6] { { 1, 2, 3, 0, 0, 4 },{ 5, 6, 7, 0, 0, 8 } };
var a = np.array(array);
var b = np.where(np.array(a==np.array(0)));
Console.WriteLine(b[0]);
In python, we write like this when using "where":
but I don't know how to use "where" in Numpy.NET. I wrote like this but it proves to be wrong: