Compute_Dot_Product

Functions

double Compute_Dot_Product (const HC_VECTOR *vector1, const HC_VECTOR *vector2)
 
double DCompute_Dot_Product (const HC_DVECTOR *vector1, const HC_DVECTOR *vector2)
 Similar to Compute_Dot_Product, but operates on double-precision data. More...
 

Detailed Description

Function Documentation

◆ Compute_Dot_Product()

double Compute_Dot_Product ( const HC_VECTOR *  vector1,
const HC_VECTOR *  vector2 
)
Parameters
vector1- Input 3D vector.
vector2- Input 3D vector.
Returns
value

DETAILS

Compute_Dot_Product() takes two 3-D vectors and computes their scalar dot-product.

NOTES

RESTRICTIONS

See also
Compute_Coordinates, Compute_Cross_Product

◆ DCompute_Dot_Product()

double DCompute_Dot_Product ( const HC_DVECTOR *  vector1,
const HC_DVECTOR *  vector2 
)

Similar to Compute_Dot_Product, but operates on double-precision data.

Parameters
vector1- Input 3D vector.
vector2- Input 3D vector.
Returns
value