Skip to contents

Vector4 Add Value

Usage

vector4_add_value(v, add)

Arguments

v

A numeric vector of length 4.

add

A number.

Value

A numeric vector of length 4

Examples

vector4_add_value(c(0, 0, 0, 1), 0.0)
#> x y z w 
#> 0 0 0 1