Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| documentation:language_reference:objects:matrix:functions:sub [2018/09/25 11:58] – created Simon Heinze | documentation:language_reference:objects:matrix:functions:sub [2025/11/20 04:20] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| ===== Example ===== | ===== Example ===== | ||
| - | |||
| - | ### | ||
| - | One of these days an example will appear here. | ||
| - | ### | ||
| ==== Input ==== | ==== Input ==== | ||
| <code Quanty Example.Quanty> | <code Quanty Example.Quanty> | ||
| - | -- some example code | + | M = {{11, |
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | |||
| + | print("" | ||
| + | print(" | ||
| + | print(Matrix.Sub(M, | ||
| + | |||
| + | print("" | ||
| + | print(" | ||
| + | print(Matrix.Sub(M, | ||
| + | |||
| + | print("" | ||
| + | print(" | ||
| + | print(Matrix.Sub(M, | ||
| </ | </ | ||
| ==== Result ==== | ==== Result ==== | ||
| <file Quanty_Output> | <file Quanty_Output> | ||
| - | text produced as output | + | |
| + | Matrix.Sub(M, | ||
| + | { { 11 , 12 , 13 } , | ||
| + | { 21 , 22 , 23 } , | ||
| + | { 31 , 32 , 33 } } | ||
| + | |||
| + | Matrix.Sub(M, | ||
| + | { { 11 , 12 , 13 , 14 } , | ||
| + | { 21 , 22 , 23 , 24 } } | ||
| + | |||
| + | Matrix.Sub(M, | ||
| + | { { 13 , 14 , 15 , 16 } , | ||
| + | { 23 , 24 , 25 , 26 } } | ||
| </ | </ | ||
| ===== Table of contents ===== | ===== Table of contents ===== | ||
| - | {{indexmenu> | + | {{indexmenu> |