You are here: Symbol Reference > AbstractMtxVec Namespace > Classes > TDenseMtxVec Class > public > DotProd Method > TDenseMtxVec.DotProd Method (TMtxVec, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TDenseMtxVec.DotProd Method (TMtxVec, integer, integer, integer)

Returns the scalar product between Vec elements [VecIndex]..[VecIndex+Len-1] and calling object elements [Index]..[Index+Len-1].

Pascal
function DotProd(const Vec: TMtxVec; VecIndex: integer; Index: integer; Len: integer): double; overload;

An exception is raised if Vec and calling object TMtxVec.Complex property is True. An exception is raised if TMtxVecBase.ConditionCheckConditionCheckis True and array borders are overrun or underrun.

Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!