You are here: Symbol Reference > AbstractMtxVecInt Namespace > Classes > TMtxVecInt Class > public > Median Method > TMtxVecInt.Median Method (integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVecInt.Median Method (integer, integer)

Calculate median value for calling vector elements [Index]..[Index+Len-1].

Pascal
function Median(Index: integer; Len: integer): integer; overload;

An exception is raised if TMtxVecBase.ConditionCheckConditionCheckis true and array borders are overrun.

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