Unit_vector Unit_vector

Unit vector - Definition and Overview

Related Words: Azimuth, Carrier, Chord, Contagion, Contamination, Course, Diagonal, Diameter, Directrix, Edge, Epidemiology

In mathematics, a unit vector in a normed vector space is a vector (most commonly a spatial vector) whose length is 1. A unit vector is often written with a “hat”, thus: î.

In Euclidean space, the dot product of two unit vectors is simply the cosine of the angle between them. This follows from the formula for the dot product, since the lengths are both 1.

The normalized vector û of a non-zero vector u is the unit vector codirectional with u, i.e.,

<math>\mathbf{\hat{u}} = \frac{\mathbf{u}}{||\mathbf{u}||}.<math>

The term normalized vector is sometimes used simply as a synonym for unit vector.

The elements of a basis are often chosen to be unit vectors. In the 3-dimensional Cartesian coordinate system, these are usually i, j, and k—unit vectors along the x, y, and z axes, respectively:

<math>\mathbf{\hat{i}} = \begin{bmatrix}1\\0\\0\end{bmatrix}<math> <math>\mathbf{\hat{j}} = \begin{bmatrix}0\\1\\0\end{bmatrix}<math> <math>\mathbf{\hat{k}} = \begin{bmatrix}0\\0\\1\end{bmatrix}<math>

These are not always written with a hat; but it can generally be assumed that i, j, and k are unit vectors in most contexts.

Other coordinate systems, such as polar coordinates or spherical coordinates use different unit vectors; notations vary.

Example Usage of vector

dfkupo: Photo: aisaka taiga bikini cleavage extraction kawashima ami kushieda minori swimsuits toradora! vector http://tumblr.com/xdm45z34k
eagle_raptor: std::vectorとかO(1)で.size()できるコンテナって帰ってくる値がある程度概算(多少ずれてる)でもいいよ って状態なら別に排他制御する必要ないのかな。実装的にはインラインで変数の値返してくるだけっぽいしいちいちmutex使うとパフォーマンスが・・・
wgooden: Free vector distress filter. Makes your stuff look vintage. http://bit.ly/34y39L
Copyright 2009 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.