Multi dimensional > 3 array in Python
Hi
I do a lot of scientific work - mainly in C/C++ but want to do some of the calcs in python, however I am finding it a problem with the lack of dimensionality. I frquency have a list of n particles and a multi-dim array for each particle and want to be able to access directly any component with ease. How best to go about this...
ideally:
my prop = [n][x][y][z]
I might need a particular value and then to update that...I do not want to have to deal with lists etc etc as this feels rather cumbersome, adding, removing etc. There must be an easy way....
|