You are here: Symbol Reference > MtxExpr Namespace > Classes > Vector Record > public > Sum Method > Vector.Sum Method (TCplx, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
Vector.Sum Method (TCplx, integer, integer)

Calculates the sum of calling object complex elements [Index]..[Index+Len-1]-

Pascal
procedure Sum(out ASum: TCplx; Index: integer; Len: integer); overload;

Stores the result in complex ASum variable. An exception is raised if calling object Complex property is False or array borders are overrun/underrun.

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