inner.product: Inner product similarity.

Description Usage Arguments Value Examples

Description

Computes the inner product between x and y.

Usage

1

Arguments

x

A vector of numbers.

y

A vector of numbers.

Value

The inner product similarity between x and y.

Examples

1
2
3
4
5
set.seed(2)
n = 100
x = rnorm(n)
y = rnorm(n)
inner.product(x, y)

iTOP documentation built on May 2, 2019, 3:44 a.m.