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 May 29, 2024, 8:28 a.m.