Skip to contents

Vector4 Distance

Usage

vector4_distance(v1, v2)

Arguments

v1

A numeric vector of length 4.

v2

A numeric vector of length 4.

Value

A number

Examples

vector4_distance(c(0, 0, 0, 1), c(0, 0, 0, 1))
#> [1] 0