Learn R Programming

physx (version 1.0)

scalarproduct: 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

See Also

vectorproduct