InnerProduct: Computes the Euclidean inner product

Description Usage Arguments Value Examples

Description

Computes the Euclidean inner product

Usage

1
InnerProduct(a, b, na.rm)

Arguments

a

a numeric vector

b

another numeric vector

na.rm

logical

Value

a real number

Examples

1
2
3
 x <- c(1, 2, 3)
 y <- c(3, 0, 1)
 InnerProduct(x, y)

UStatBookABSC documentation built on May 2, 2019, 8:24 a.m.