Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| documentation:language_reference:objects:matrix:operations:tostring [2024/12/12 15:29] – Maurits W. Haverkort | documentation:language_reference:objects:matrix:operations:tostring [2025/11/20 04:20] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| A = Matrix.New({{1, | A = Matrix.New({{1, | ||
| AStr = tostring(A) | AStr = tostring(A) | ||
| + | print(AStr) | ||
| BStr = string.gsub(AStr, | BStr = string.gsub(AStr, | ||
| BStr = string.gsub(BStr, | BStr = string.gsub(BStr, | ||
| Line 23: | Line 24: | ||
| ==== Result ==== | ==== Result ==== | ||
| <file Quanty_Output> | <file Quanty_Output> | ||
| + | { { 1 , 2 } , | ||
| + | { 3 , 4 } } | ||
| + | |||
| [ [ 1 , 2 ] , | [ [ 1 , 2 ] , | ||
| [ 3 , 4 ] ] | [ 3 , 4 ] ] | ||
| Line 28: | Line 32: | ||
| ===== Table of contents ===== | ===== Table of contents ===== | ||
| - | {{indexmenu> | + | {{indexmenu> |