Difference between revisions of "TI-BASIC:Transpose"
(Initial automated import) |
(Automated superscript correction) |
||
Line 9: | Line 9: | ||
'''Command Syntax''' | '''Command Syntax''' | ||
− | ''matrix'' | + | ''matrix''<sup>T</sup> |
'''Menu Location''' | '''Menu Location''' | ||
Line 16: | Line 16: | ||
# MATRX (on the 83) or 2nd MATRX (83+ or higher) to access the Matrix menu. | # MATRX (on the 83) or 2nd MATRX (83+ or higher) to access the Matrix menu. | ||
# LEFT to access the MATH submenu | # LEFT to access the MATH submenu | ||
− | # 2 to select | + | # 2 to select <sup>T</sup>, or use arrows |
'''Calculator Compatibility''' | '''Calculator Compatibility''' | ||
Line 27: | Line 27: | ||
</div> | </div> | ||
− | The | + | The <sup>T</sup> command is used to calculate the transpose of a matrix: it flips a matrix along its main diagonal. This means that the (i,j)th element becomes the (j,i)th element, and vice versa. As a result, the transpose of an M by N matrix is an N by M matrix. |
{{Template:TI-BASIC:Prgm-code |code= | {{Template:TI-BASIC:Prgm-code |code= | ||
Line 33: | Line 33: | ||
<span style="color:transparent;"}}............[[/span> [[1 2 3] | <span style="color:transparent;"}}............[[/span> [[1 2 3] | ||
<span style="color:transparent;">.............</span> [4 5 6]{$br} | <span style="color:transparent;">.............</span> [4 5 6]{$br} | ||
− | Ans | + | Ans<sup>T</sup> |
<span style="color:transparent;">............</span> [[1 4] | <span style="color:transparent;">............</span> [[1 4] | ||
<span style="color:transparent;">.............</span> [2 5] | <span style="color:transparent;">.............</span> [2 5] | ||
Line 42: | Line 42: | ||
= Advanced Uses = | = Advanced Uses = | ||
− | In addition to its many uses in linear algebra, the | + | In addition to its many uses in linear algebra, the <sup>T</sup> operation is useful to programmers: with operations such as [[TI-BASIC:Matr_List|Matr►list(]] and [[TI-BASIC:Augment|augment(]], which normally deal with columns, <sup>T</sup> allows you to use rows instead. See the "Related Commands" section for the commands that this is useful for. |
= Related Commands = | = Related Commands = |
Revision as of 22:25, 24 February 2016
Command Summary
This command calculates the transpose of a matrix.
Command Syntax
matrixT
Menu Location
Press:
- MATRX (on the 83) or 2nd MATRX (83+ or higher) to access the Matrix menu.
- LEFT to access the MATH submenu
- 2 to select T, or use arrows
Calculator Compatibility
TI-83/84/+/SE
Token Size
The T command is used to calculate the transpose of a matrix: it flips a matrix along its main diagonal. This means that the (i,j)th element becomes the (j,i)th element, and vice versa. As a result, the transpose of an M by N matrix is an N by M matrix.
{{Template:TI-BASIC:Prgm-code |code= [[1,2,3][4,5,6]{$br} [[1 2 3] ............. [4 5 6]{$br} AnsT ............ [[1 4] ............. [2 5] ............. [3 6]{$br} |br=] ]]
Advanced Uses
In addition to its many uses in linear algebra, the T operation is useful to programmers: with operations such as Matr►list( and augment(, which normally deal with columns, T allows you to use rows instead. See the "Related Commands" section for the commands that this is useful for.
Related Commands
- Augment(
- CumSum(
- Matr►list(
- |- (and other row operations)