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

Calculate the maximum value of calling object complex elements [Index]..[Index+Len-1].

Pascal
function Maxc(out AMax: TCplx; Index: integer; Len: integer): integer; overload;

The AMax parameter returns complex maximum value. Returns the Index of maximum value. Complex elements are first compared by the amplitude and then by the argument. The AIndex parameter returns the Index of maximum value. An exception is raised if calling object Complex property is False or array borders are overrud/underrun.

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