Learn R Programming

RFOC (version 1.0-4)

cross.prod: Vector Cross Product

Description

Vector Cross Product with list as arguments and list as values

Usage

cross.prod(B, A)

Arguments

B
list of x,y,z
A
list of x,y,z

Value

  • LIST
  • x,y,zvector of cross product

See Also

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