dot: Compute the dot product of two vectors

Description Usage Arguments Value Author(s)

View source: R/dotprod.R

Description

If x and y are matrices, calculate the dot-product along the first non-singleton dimension. If the optional argument d is given, calculate the dot-product along this dimension.

Usage

1
dot(x, y, d = NULL)

Arguments

x

Matrix of vectors

y

Matrix of vectors

d

Dimension along which to calculate the dot product

Value

Vector with length of dth dimension

Author(s)

David Sterratt


geometry documentation built on May 2, 2019, 6:09 p.m.

Related to dot in geometry...