Task: Generate Multi-dimensional Cartesian Product Grid with NumPy
Task: Generate Multi-dimensional Cartesian Product Grid with NumPy: a task in Terminal-Lego-15k (Harbor dataset). Create a Python script that generates a 2D NumPy array containing all possible coordinate pairs (x, y) where both x and y range from -5 to 5 (inclusive) with a step of 0.5.
The task
Create a Python script that generates a 2D NumPy array containing all possible coordinate pairs (x, y) where both x and y range from -5 to 5 (inclusive) with a step of 0.5.
Part of PrimeIntellect/Terminal-Lego-15k.