You are here: Symbol Reference > clMtxExpr Namespace > Classes > clVector Record > public > Sum Method > clVector.Sum Method (double, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
clVector.Sum Method (double, integer, integer)

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

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

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

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