All Frameworks  Class Hierarchy  This Framework  Indexes

AdvancedMathematics Global Function CATScalarProductND


double CATScalarProductND( const CATLONG32 iN,
const double* iUOrigin,
const double* iUEnd,
const double* iVOrigin,
const double* iVEnd)
Computes the scalar product of two N dimensional vectors.
Parameters:
iN
The dimension.
iUOrigin
The array of coordinates of the origin of the first vector.
iUEnd
The array of coordinates of the end of the first vector.
iVOrigin
The array of coordinates of the origin of the second vector.
iVEnd
The array of coordinates of the end of the second vector.
Returns:
The scalar product iUEnd-iUOrigin * iVEnd-iVOrigin

This object is included in the file: CATMathSetOfPointsND.h
If needed, your Imakefile.mk should include the module: CATAdvancedMathematics

Copyright © 2003, Dassault Systèmes. All rights reserved.