Learn R Programming

RFOC (version 3.4-10)

cross.prod: Vector Cross Product

Description

Vector Cross Product with list as arguments and list as values

Usage

cross.prod(B, A)

Value

LIST

x,y,z

vector of cross product

Arguments

B

list of x,y,z

A

list of x,y,z

Author

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

See Also

RSEIS::xprod

Examples

Run this code
B1 = list(x=4, y=9, z=2)
B2 = list(x=2,y=-5,z=4)

cross.prod(B1, B2)


Run the code above in your browser using DataLab