klyn.math.geometry.Vector.operator-
method

    public static operator-(v1 as Vector<NUMBER>, v2 as Vector<NUMBER>) as Vector<NUMBER>:

Description

Subtracts two vectors component by component.

Parameters

Parameter | Description
--- | ---
`v1` | Left operand.
`v2` | Right operand.

Returns

A new vector containing the difference.

Example

    delta = Vector<Double>(5.0, 7.0) - Vector<Double>(2.0, 3.0)