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

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

Pascal
function Sum(Index: integer; Len: integer): double; overload;

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!