# Dot Product

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.