# The ArrayFlatten seems to have no effect for some reason [duplicate]

I am a new Mathematica user, I am attempting to use ArrayFlatten but it seems not to work in this case. My codes are below,

w = IntegerPartitions[10, {3}]
x = Permutations[{a, b, c}, {3}]
simlength = Length[x]
simp = Transpose@w[[1 ;;]] x[[#]] & /@ Range[1, simlength, 1]
simp//MatrixForm


then I use

ArrayFlatten[...Outputfromprevioushere...]//MatrixForm


ArrayFlatten seems to have no effect at all. Is there anything I might be missing? Thanks a lot

• MatrixForm >> Details and Options: MatrixForm acts as a "wrapper", which affects printing, but not evaluation. – kglr Apr 23 '17 at 22:25
• does Transpose[ArrayFlatten[{simp}]] // MatrixForm give the desired output? – kglr Apr 23 '17 at 22:30
• Thanks so much! This solves the problem. All is ok now – Rob Apr 23 '17 at 22:35
• Rob, Welcome to mma.se. We suggest 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Take the tour and check the faqs!3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign. – kglr Apr 23 '17 at 22:49
• Will do! Thanks again – Rob Apr 24 '17 at 3:33

Transpose[ArrayFlatten[{simp}]] // MatrixForm