Differences

This shows you the differences between two versions of the page.

Link to this comparison view

documentation:language_reference:objects:matrix:functions:new [2024/12/12 15:40] – created Maurits W. Haverkortdocumentation:language_reference:objects:matrix:functions:new [2024/12/12 17:53] (current) Maurits W. Haverkort
Line 3: Line 3:
  
 ### ###
-alligned paragraph text+Matrix.New(T) creates a matrix object from the table t. Matrices can only have numerical (real or complex) entries and all rows must be of equal length.
 ### ###
  
 ===== Example ===== ===== Example =====
- 
-### 
-description text 
-### 
  
 ==== Input ==== ==== Input ====
 <code Quanty Example.Quanty> <code Quanty Example.Quanty>
--- some example code+M = Matrix.New({{1,2},{2,1}}) 
 +print(M)
 </code> </code>
  
 ==== Result ==== ==== Result ====
 <file Quanty_Output> <file Quanty_Output>
-text produced as output+{ {  1      ,  2      } , 
 +  {  2      ,  1      } }
 </file> </file>
  
Print/export