vectorproduct: Vector product

Description Usage Arguments Value Author(s) See Also

View source: R/vectorproduct.R

Description

Compute cross product of two 3-element vectors

Usage

1
vectorproduct(x, y, normalize = FALSE)

Arguments

x, y

3-element vectors or n-by-3 matrices representing n 3-element vectors

normalize

logical flag; if set to TRUE the cross-product(s) is/are automatically normalized

Value

Returns a 3-element vector or a n-by-3 element matrix with the cross products

Author(s)

Danail Obreschkow

See Also

scalarproduct, vectornorm and unitvector


physx documentation built on Feb. 3, 2022, 5:08 p.m.

Related to vectorproduct in physx...