Learn R Programming

polyCub (version 0.9.1)

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