Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| documentation:language_reference:objects:matrix:functions:enlarge [2018/09/25 11:48] – created Simon Heinze | documentation:language_reference:objects:matrix:functions:enlarge [2025/11/20 04:20] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| Matrix.Enlarge($M$, | Matrix.Enlarge($M$, | ||
| - | Compare // | + | Compare // |
| ### | ### | ||
| ===== 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, | ||
| </ | </ | ||
| ==== 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) } } | ||
| </ | </ | ||
| ===== Table of contents ===== | ===== Table of contents ===== | ||
| - | {{indexmenu> | + | {{indexmenu> |