Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using large lists or arrays in QM
#1
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


Messages In This Thread
Using large lists or arrays in QM - by ohalligan - 09-17-2021, 09:28 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)