RDocumentation
Moon
Learn R
Search all packages and functions
polyCub (version 0.8.0)
dotprod: Dot/Scalar Product of Two Vectors
Description
This is nothing else than
sum(x*y)
.
Usage
dotprod(x, y)
Value
sum(x*y)
Arguments
x, y
numeric vectors (of compatible lengths).