# Difference between revisions of "Vector Command"

From GeoGebra Manual

m (Updated tool names) |
|||

Line 7: | Line 7: | ||

: 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 [[Image:Tool Vector between Two Points.gif]] [[Vector | + | {{Note| See also [[Image:Tool Vector between Two Points.gif]] [[Vector Tool|Vector]] tool.}} |

{{betamanual|version=5.0| | {{betamanual|version=5.0| | ||

{{Note|1=From GeoGebra 5, this command will work with 3D Points as well}} | {{Note|1=From GeoGebra 5, this command will work with 3D Points as well}} | ||

}} | }} |

## Revision as of 22:52, 26 November 2013

- 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.

Following text is about a feature that is supported only in GeoGebra 5.0.
Note: From GeoGebra 5, this command will work with 3D Points as well |