Dot: Calculate the Dot Product Between Two Vectors

Description Usage Arguments Details Value Author(s)

Description

A function to calculate the dot product between two vectors. This is used in the Frechet algorithm and does not need to be called directly.

Usage

1
Dot(vect1, vect2, dimensions=length(vect1))

Arguments

vect1

An n dimensional vector representing the first vector.

vect2

An n dimensional vector representing the second vector.

dimensions

An integer representing the number of dimensions being used for the dot product calculation. This defaults to the length of the first vector.

Details

This function is called by the Frechet function.

Value

A floating point value is returned, representing the dot product between the two vectors.

Author(s)

Kevin Toohey


SimilarityMeasures documentation built on May 1, 2019, 10:06 p.m.