# HM_vectordotproduct()

Calculates the dot product of two vectors.

## Syntax

`double HM_vectordotproduct(HM_vectorpointer vector1, HM_vectorpointer vector2);`

## Type

HyperMesh hmlib Function

## Description

Calculates the dot product of two vectors.

## Inputs

`vector1`- A pointer to a vector.
`vector2`- A pointer to a vector.

## Example

The dot product of *vector1 and *vector2.

## Errors

None.