Difference between revisions of "Vector Command"
From GeoGebra Manual
m (removed betamanual) |
m (updated icon) |
||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=5.0}}</noinclude> | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|vector-matrix}} |
− | {{command|vector-matrix}} | ||
; Vector[ <Start Point>, <End Point> ] | ; Vector[ <Start Point>, <End Point> ] | ||
: Creates a vector from ''Start Point'' to ''End Point''. | : Creates a vector from ''Start Point'' to ''End Point''. | ||
Line 7: | Line 6: | ||
: Returns the position vector of the given point. | : Returns the position vector of the given point. | ||
:{{example|1=<div><code><nowiki>Vector[(3, 2)]</nowiki></code> yields ''u = <math>\begin{pmatrix}3\\2\end{pmatrix}</math>''.</div>}} | :{{example|1=<div><code><nowiki>Vector[(3, 2)]</nowiki></code> yields ''u = <math>\begin{pmatrix}3\\2\end{pmatrix}</math>''.</div>}} | ||
− | {{Note| See also [[ | + | {{Note| See also [[File:Mode vector.svg|link=|24px]] [[Vector Tool|Vector]] tool.}} |
Revision as of 14:31, 11 August 2015
- Vector[ <Start Point>, <End Point> ]
- Creates a vector from Start Point to End Point.
- Example:
Vector[(1, 1), (3, 4)]
yields u = \begin{pmatrix}2\\3\end{pmatrix}.
- Vector[ <Point> ]
- Returns the position vector of the given point.
- Example:
Vector[(3, 2)]
yields u = \begin{pmatrix}3\\2\end{pmatrix}.
Note: See also Vector tool.