Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
documentation:language_reference:objects:matrix:functions:enlarge [2018/09/25 11:49] – fixed link Simon Heinzedocumentation:language_reference:objects:matrix:functions:enlarge [2018/09/26 15:08] (current) – Added Code Example Simon Heinze
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>
  
Print/export