Rdocumentation
powered by
Learn R Programming
polyCub (version 0.2-0)
dotprod: Dot/Scalar Product of Two Vectors
Description
This is nothing else than
sum(x*y)
.
Usage
dotprod(x, y)
Arguments
x,y
numeric vectors (of compatible lengths).
Value
sum(x*y)