Learn R Programming

RFOC (version 3.4-6)

CROSSL: Vector Cross Product

Description

returns cross product of two vectors in list format

Usage

CROSSL(A1, A2)

Arguments

A1

list x,y,z

A2

list x,y,z

Value

List

x,y,z

input vector

az

azimuth, degrees

dip

dip, degrees

See Also

RSEIS::xprod

Examples

Run this code
# NOT RUN {
A1 = list(x=1,y=2, z=3)
A2 = list(x=12,y=-2, z=-5)

N = CROSSL(A1, A2)

# }

Run the code above in your browser using DataLab