Matrix transposition: Difference between revisions
Content deleted Content added
No edit summary |
→{{header|Java}}: +Mathematica |
||
Line 296: | Line 296: | ||
} |
} |
||
} |
} |
||
=={{header|Mathematica}}== |
|||
originalMatrix = {{1, 1, 1, 1}, |
|||
{2, 4, 8, 16}, |
|||
{3, 9, 27, 81}, |
|||
{4, 16, 64, 256}, |
|||
{5, 25, 125, 625}} |
|||
transposedMatrix = Transpose[M] |
|||
=={{header|MAXScript}}== |
=={{header|MAXScript}}== |