Learn R Programming

spherepc (version 0.1.7)

Crossprod: Crossproduct of vectors

Description

This function performs the cross product of two three-dimensional vectors.

Usage

Crossprod(vec1, vec2)

Arguments

vec1

three-dimensional vector.

vec2

three-dimensional vector.

Value

three-dimensional vector.

Details

This function performs the cross product of two three-dimensional vectors.

Examples

Run this code
# NOT RUN {
Crossprod(c(1, 1, 1), c(5,6,10))
# }

Run the code above in your browser using DataLab