Dot {SimilarityMeasures}R Documentation

Calculate the Dot Product Between Two Vectors

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

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


[Package SimilarityMeasures version 1.4 Index]