Reference

Vector

New
Input A list of numbers.
Output A vector containing the list of numbers.

Signature

Example

Normalize
Input A vector.
Output A vector with the same direction but with a magnitude of 1.

Signature

Example

Add
Input Two vectors.
Output A vector that is the sum of the two input vectors.

Signature

Example

Subtract
Input Two vectors.
Output A vector that is the difference of the two input vectors.

Signature

Example

Magnitude
Input A vector.
Output The magnitude of the input vector.

Signature

Example

Angle
Input Two vectors.
Output The angle between the two input vectors in radians.

Signature

Example