You are here: Symbol Reference > clMtxExpr Namespace > Classes > clMatrix Record > public > Maxc Method > clMatrix.Maxc Method (TCplx, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
clMatrix.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 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!