klyn.math.geometry.Vector.operator/
method

    public static operator/(v1 as Vector<NUMBER>, scalar as NUMBER) as Vector<Double>:

Description

Divides a vector by a scalar.

Parameters

Parameter | Description
--- | ---
`v1` | Vector to scale.
`scalar` | Divisor.

Returns

A new scaled vector.

Throws

- ZeroDivisionException If `scalar` is zero.

Example

    half = Vector<Double>(6.0, 8.0) / 2.0