laCrossProd {smallstuff}R Documentation

Cross Product (Linear Algebra)

Description

Calculate the cross product as defined in linear algebra; note that this differs from the cross product as defined by R.

Usage

laCrossProd(x, y)

Arguments

x

vector of length 3.

y

vector of length 3.

Value

Cross product of x and y.

Examples

x=c(1,2,1)
y=1:3
laCrossProd(x,y)

[Package smallstuff version 1.0.3 Index]