tools:matrix:start
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
tools:matrix:start [2021/11/12 11:44] – [Logging Matrices] ursgraf | tools:matrix:start [2021/11/14 16:41] – ursgraf | ||
---|---|---|---|
Line 3: | Line 3: | ||
<code cpp> | <code cpp> | ||
Vector< | Vector< | ||
- | v << 1.5, -2, 0; | ||
</ | </ | ||
The declaration could be simplified to | The declaration could be simplified to | ||
<code cpp> | <code cpp> | ||
Vector3<> | Vector3<> | ||
- | v << 1.5, -2, 0; | ||
</ | </ | ||
- | as '' | + | as '' |
+ | <code cpp> | ||
+ | v = {1.5, -2, 0} | ||
+ | v << 1.5, -2, 0; // or with input operator | ||
+ | Vector3 v{1,2,3}; // or directly upon declaration | ||
+ | </ | ||
+ | A matrix of 3 times 3 with element type '' | ||
<code cpp> | <code cpp> | ||
Matrix< | Matrix< | ||
Line 64: | Line 68: | ||
2021-09-16 17: | 2021-09-16 17: | ||
</ | </ | ||
+ | |||
+ | ===== Matrix Operations ===== | ||
+ |
tools/matrix/start.txt · Last modified: 2022/04/20 13:29 by ursgraf