cross

0th

Percentile

Numerical and Symbolic Cross Product

Computes the generic cross product of N-1 vectors of length N.

Usage
cross(...)

x %cross% y

Arguments
...

N-1 vectors of length N.

x

3-d vector

y

3-d vector

Value

N-dimensional vector orthogonal to the N-1 vectors.

Functions

  • cross: N-d cross product

  • %cross%: 3-d cross product

Aliases
  • cross
  • %cross%
Examples
# NOT RUN {
# canonical basis 3-d
c(1,0,0) %cross% c(0,1,0)

# canonical basis 4-d
cross(c(1,0,0,0), c(0,1,0,0), c(0,0,0,1))

# }
Documentation reproduced from package calculus, version 0.1.0, License: GPL-3

Community examples

Looks like there are no examples yet.