scalarproduct {cooltools}R Documentation

Scalar product

Description

Compute scalar product of two vectors

Usage

scalarproduct(x, y)

Arguments

x, y

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

Value

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

Author(s)

Danail Obreschkow

See Also

vectorproduct


[Package cooltools version 2.4 Index]