On 05/20/2013 01:52 PM, Santanu Sarkar wrote:
Is the any way to write four dimensional array in Sage like C int M[10][10][10][10]? For two dimensional case I use Matrix.
How do you intend to use it? You can simply create a nested list. sage: C = [[[[1,2], [3]], [[3], [4]]], [[[1,2],[3]],[[3],[4]]]] sage: C[0][1][1][0] 4 -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support?hl=en. For more options, visit https://groups.google.com/groups/opt_out.