InnerProduct {UStatBookABSC}R Documentation

Computes the Euclidean inner product

Description

Computes the Euclidean inner product

Usage

InnerProduct(a, b, na.rm)

Arguments

a

a numeric vector

b

another numeric vector

na.rm

logical

Value

a real number

Examples

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




[Package UStatBookABSC version 1.0.0 Index]