Contents Previous Next Subchapters

Building Matrices (Mlmode)
Syntax value ... ; value... 
... ]
O-Matrix Mode building

Description
White space and commas inside of the brackets [ and ] are used as a separator between entries in the same row of a matrix. The semicolon and new line characters are used as separators between different rows a of a matrix.

Example
If in Mlmode you enter
     [ 1 +2,1+2 ]
O-Matrix will reply
     [ 1 , 2 , 3 ]
If you continue by entering
     [ 1 , 2 ; 3  4 ]
O-Matrix will respond
     {
     [ 1 , 2 ]
     [ 3 , 4 ]
     }
You cannot use new the new line to separate rows at the command line, but if there is a file named TEMP.M (in the current working directory ) that contains
     [ 1 2
       3 4 ]
and you enter
     temp
O-Matrix will respond
     {
     [ 1 , 2 ]
     [ 3 , 4 ]
     }