You are here: Symbol Reference > clMtxVec Namespace > Classes > TOpenCLMtxVec Class > public > Maxc Method > TOpenCLMtxVec.Maxc Method (TCplx, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TOpenCLMtxVec.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 TOpenCLBase.ComplexComplexproperty 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!