Mathematica lists in a weird format -


hi have following simple program:

joint = table[0, {i, length[labelnames]}, {j, 16}];   for[time = 1,   time < length[topics], time++   do[    joint[[l, t]]++, {l, labelsfortime[time]}, {t, topics[[time]]}    ]  ] 

result of which, joint is: {{0, 1267, 90, 0, 0, 58, 1358, 2, 25, 1, 0, 0, 6, 0, 2585, 0}, (7507 + list)[111, 773, 3302, 8092, 405, 1776, 4203, 153, 9551, 118, 9, 2260, 17, 665, 5586, 0], (3288 + list)[0, 43, 46, 716, 0, 120, 20, 2, 576, 0, 0, 246, 0, 0, 118, 0], (382 + list)[7, 80, 191, 87, 1, 38, 2887, 3, 1967, 0, 5, 72 ....

notice (7505 + list), (3288 + list) .. , other similar elements in output. can't figure out these are, , how got joint, simple list of lists.

aren't missing comma after time++? (i can't run code because there many unknown variables...)


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -