Skip to contents

Vector4 Distance Sqr

Usage

vector4_distance_sqr(v1, v2)

Arguments

v1

A numeric vector of length 4.

v2

A numeric vector of length 4.

Value

A number

Examples

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