laCrossProd: Cross Product (Linear Algebra)

View source: R/linAlg.R

laCrossProdR 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)

smallstuff documentation built on May 29, 2024, 2:19 a.m.