vcos: Compute the Cosine Between Two Vectors

View source: R/vcos.r

vcosR Documentation

Compute the Cosine Between Two Vectors

Description

Compute the cosine between two vectors.

Usage

vcos(x, y)

Arguments

x

A p x 1 vector.

y

A p x 1 vector.

Value

Cosine between x and y

Examples


x <- rnorm(5)
y <- rnorm(5)
vcos(x, y)


fungible documentation built on March 31, 2023, 5:47 p.m.

Related to vcos in fungible...