Skip to contents

Vector or cross product

Usage

vcross(x, y)

Arguments

x, y

numeric vectors of length 3

Value

numeric vector of length 3

Examples

vcross(c(1, 2, 3), c(4, 5, 6))
#> [1] -3  6 -3