Learn R Programming

GEOmap (version 2.5-11)

X.prod: Cross Product

Description

Vector Cross Product for spatial cartesian vectors

Usage

X.prod(a, b)

Value

3-vector

Arguments

a

3-vector

b

3-vector

Author

Jonathan M. Lees<jonathan.lees@unc.edu>

Examples

Run this code

v1 = c(1,1,1)
v2= c(-1, -1, 1)
X.prod(v1, v2)


Run the code above in your browser using DataLab