Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

enter image description here

I got confused about what does "the outermost dimension" and "the first dimension" mean in the document I snipped. Does it mean row or column?

share|improve this question
    
if m is your list {{a, b}, {c, d}, {e, f}}, then {a,b} is the first row, right? and {c,d} is the second row, and {e,f} is the third. So by default, TableForm, prints each row in a new line. That is what you see in the first example. The second example is just this: TableForm[Transpose@m] so it just prints each column on a new line. –  Nasser Apr 20 at 20:00
    
@Nasser Yes, I totally understand how the command works here. But what does the word "dimension" mean here in the context? –  Lawerance Apr 20 at 20:12
1  
It just means m = {{a, b}, {c, d}, {e, f}}; {dim1, dim2} = Dimensions[m] gives {3, 2} which is 3 rows and 2 columns. The docs used outermost since 2 is the last entry in the dimensions? The dimensions are row first, then cols second. So in a sense, column is the outer. I would not really pay big attention to these terminolgies used. As long as you know how to use it. I can't understand half the documentation most of the time. I just figure what to do by trial and error then I understand how to use. –  Nasser Apr 20 at 20:36
    
@Nasser Thanks! I got it. –  Lawerance Apr 20 at 20:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.