tools:matrix:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tools:matrix:start [2021/09/16 17:50] – [Logging Matrices] ursgraf | tools:matrix:start [2021/11/12 11:44] – [Logging Matrices] ursgraf | ||
---|---|---|---|
Line 19: | Line 19: | ||
The first three numbers will be filled into the first colon. While the internal representation is simply a one dimensional vector, the matrix could be visualized as | The first three numbers will be filled into the first colon. While the internal representation is simply a one dimensional vector, the matrix could be visualized as | ||
- | + | | ^col0^col1^col2^ | |
- | |1|2|3| | + | ^row0|1|2|3| |
- | |4|5|6| | + | ^row1|4|5|6| |
- | |7|8|9| | + | ^row2|7|8|9| |
===== Accessing Elements ===== | ===== Accessing Elements ===== | ||
Line 48: | Line 48: | ||
log.info() << m; | log.info() << m; | ||
</ | </ | ||
- | |||
With the 3 x 3 matrix from above we would get | With the 3 x 3 matrix from above we would get | ||
- | + | < | |
- | < | + | 2021-09-16 17: |
- | 2021-09-16 17: | + | </ |
+ | The matrix is plotted colon per colon. To give some more examples: | ||
+ | <code cpp> | ||
+ | Matrix< | ||
+ | Matrix< | ||
+ | Matrix< | ||
+ | </ | ||
+ | This matrices will be printed as | ||
+ | < | ||
+ | 2021-09-16 17: | ||
+ | 2021-09-16 17: | ||
+ | 2021-09-16 17: | ||
</ | </ | ||
- | The matrix is plotted colon per colon. |
tools/matrix/start.txt · Last modified: 2022/04/20 13:29 by ursgraf