scalarproduct: Scalar product

View source: R/scalarproduct.R

scalarproductR 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


obreschkow/cooltools documentation built on Nov. 16, 2024, 2:46 a.m.