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

globe documentation built on May 2, 2019, 10:25 a.m.