xprod: Vector Cross Product

Description Usage Arguments Value Author(s) Examples

Description

Cross product of two vectors

Usage

1
xprod(A1, A2)

Arguments

A1

3 component vector of x,y,z

A2

3 component vector of x,y,z

Value

3 component vector of A1 cross A2

Author(s)

Jonathan M. Lees <[email protected]>

Examples

1
2
3
4
B1 <- c(4,9,2)
B2 <- c(2,-5,4)

xprod(B1, B2)

RSEIS documentation built on May 29, 2017, 10:38 p.m.