dotprod: Dot/Scalar Product of Two Vectors

Description Usage Arguments Value

Description

This is nothing else than sum(x*y).

Usage

1
dotprod(x, y)

Arguments

x, y

numeric vectors (of compatible lengths).

Value

sum(x*y)


polyCub documentation built on Jan. 27, 2021, 1:05 a.m.