Difference between revisions of "Dimension Command"
From GeoGebra Manual
m (Bot: Automated text replacement (-{{betamanual|version=4.2}} + )) |
|||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=4.2}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | + | <noinclude>{{Manual Page|version=4.2}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> |
{{command|vector-matrix}} | {{command|vector-matrix}} | ||
;Dimension[ <Vector> ] | ;Dimension[ <Vector> ] |
Revision as of 16:10, 1 January 2013
- Dimension[ <Vector> ]
- Gives the dimension of the vector.
- Example:
Dimension[{1, 2, 0, -4, 3}]
yields 5.
- Dimension[ <Matrix> ]
- Gives the dimension of the matrix.
- Example:
Dimension[{{1, 2}, {3, 4}, {5, 6}}]
yields {3, 2}.
CAS Syntax
- Dimension[ <Vector> ]
- Gives the dimension of the vector.
- Example:
Dimension[{1, 2, 0, -4, 3}]
yields 5.
- Dimension[ <Matrix> ]
- Gives the dimension of the matrix.
- Example:
Dimension[{{a, b}, {c, d}, {e, f}}]
yields {3, 2}.