Skip to contents

Vector4 Add

Usage

vector4_add(v1, v2)

Arguments

v1

A numeric vector of length 4.

v2

A numeric vector of length 4.

Value

A numeric vector of length 4

Examples

vector4_add(c(0, 0, 0, 1), c(0, 0, 0, 1))
#> x y z w 
#> 0 0 0 2