Skip to contents

Vector4 Negate

Usage

vector4_negate(v)

Arguments

v

A numeric vector of length 4.

Value

A numeric vector of length 4

Examples

vector4_negate(c(0, 0, 0, 1))
#>  x  y  z  w 
#>  0  0  0 -1