Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
documentation:language_reference:objects:matrix:functions:enlarge [2018/09/25 11:49] – fixed link Simon Heinzedocumentation:language_reference:objects:matrix:functions:enlarge [2024/12/12 16:53] (current) Maurits W. Haverkort
Line 9: Line 9:
  
 ===== Example ===== ===== Example =====
- 
-### 
-An example will follow. Probably. 
-### 
  
 ==== Input ==== ==== Input ====
 <code Quanty Example.Quanty> <code Quanty Example.Quanty>
--- some example code+M ={{3,5}, 
 +    {-2,I}} 
 +print(Matrix.Enlarge(M,3))
 </code> </code>
  
 ==== Result ==== ==== Result ====
 <file Quanty_Output> <file Quanty_Output>
-text produced as output+{ { 3 , 0 , 0 , 5 , 0 , 0 } ,  
 +  { 0 , 3 , 0 , 0 , 5 , 0 } ,  
 +  { 0 , 0 , 3 , 0 , 0 , 5 } ,  
 +  { -2 , 0 , 0 , (0 + 1 I) , 0 , 0 } ,  
 +  { 0 , -2 , 0 , 0 , (0 + 1 I) , 0 } ,  
 +  { 0 , 0 , -2 , 0 , 0 , (0 + 1 I) } }
 </file> </file>
  
 ===== Table of contents ===== ===== Table of contents =====
-{{indexmenu>.#1|msort}}+{{indexmenu>..:#2|tsort}}
  
Print/export