inner.product: Inner product similarity.

Description Usage Arguments Value Examples

View source: R/functions.R

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)

NKI-CCB/iTOP documentation built on May 28, 2019, 3:33 p.m.