Learn R Programming

cooltools (version 2.4)

scalarproduct: Scalar product

Description

Compute scalar product of two vectors

Usage

scalarproduct(x, y)

Value

Returns a scalar or a n-element vector with the scalar products.

Arguments

x, y

d-element vectors or n-by-d matrices representing n d-element vectors

Author

Danail Obreschkow

See Also

vectorproduct