Message12454
works fine ,my example of a float [][][]:
cf = Class.forName('[[F') # can use [F [[F [[[F
x = jarray.array([[[1.0]*4096*4]*2],cf)
# some tests
print("type x",type(x)) # type x <type 'array.array'>
print(x[0][0][1]) # 1 ok
# print(x[1][0][1]) # failed like it should
print(x[0][1][1]) # 1 ok
print(x[0][0][100]) # 1 ok
print(x[0][1][2000]) # 1 ok
Thanks problem solved |
|
Date |
User |
Action |
Args |
2019-04-26 18:31:25 | waynelloydsmith | set | messageid: <1556303485.4.0.961856161649.issue2758@roundup.psfhosted.org> |
2019-04-26 18:31:25 | waynelloydsmith | set | recipients:
+ waynelloydsmith, adamburke |
2019-04-26 18:31:25 | waynelloydsmith | link | issue2758 messages |
2019-04-26 18:31:25 | waynelloydsmith | create | |
|