Hello -
I have a list of about 1,000 coordinate pairs that I would like to treat as a two dimensional array in QM. I'm looking for help in syntax to store a variable like that.
In other languages I would expect to be able to do something like coordinatePairs = [[x1,y1],[x2,y2]...] so that I could call coordinatePairs[0][0] to get x1. I've done some research in the documentation but can only seem to find how to populate empty Arrays programmatically, not when they are declared.
Any help would be great!
xCoord yCoord
5393 109
5393 114
5393 115
5393 116
5393 117
5393 118
5394 109
5394 110
5394 111
I have a list of about 1,000 coordinate pairs that I would like to treat as a two dimensional array in QM. I'm looking for help in syntax to store a variable like that.
In other languages I would expect to be able to do something like coordinatePairs = [[x1,y1],[x2,y2]...] so that I could call coordinatePairs[0][0] to get x1. I've done some research in the documentation but can only seem to find how to populate empty Arrays programmatically, not when they are declared.
Any help would be great!
xCoord yCoord
5393 109
5393 114
5393 115
5393 116
5393 117
5393 118
5394 109
5394 110
5394 111