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

Median.

Pascal
function Median: double; overload;

Calculate median value for all calling object elements.

var a: Vector; c: double; begin a.SetIt(False,[1,2,3,4]); c := a.Median; end;
Examples on GitHub
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!