Operator: Vector Dot Product

Operator: Vector Dot Product is a Number Spell Piece added by Psi. It provides the dot product of two vectors, which is defined as $$\vec{v_{1}} \cdot \vec{v_{2}}=||\vec{v_{1}}||\ ||\vec{v_{2}}||\cos(\theta)$$, where $$\vec{v_{1}}$$ and $$\vec{v_{2}}$$ are vectors, $$||\vec{v_{1}}||$$ and $$||\vec{v_{2}}||$$ are the magnitudes of the two vectors, and $$\theta$$ is the angle between the two vectors. For example, two vectors at a 90° angle will have a dot product of 0, while those at a 0° angle will be exactly equal to $$||\vec{v_{1}}|| \times ||\vec{v_{2}}||$$. This result is scalar; it will result in a number value, not another vector. This should not be confused with and. It is unlocked in the lesson "Trigonometry."

Parameters

 * Vector A: Requires a vector.
 * Vector B: Requires a vector.