dot: Dot Product

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Computes the dot product of two vectors.

Usage

1
dot(a, b)

Arguments

a,b

Two vectors of equal length.

Details

Vectors can be of any length provided they are equal.

Value

A vector of length 1.

Author(s)

Adrian Baddeley and Tom Lawrence

See Also

cross

Examples

1
  dot(c(2,1),c(-3,4))


Search within the globe package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.