You are here: Symbol Reference > clMtxExpr Namespace > Classes > clVector Record > public > Normalize Method > clVector.Normalize Method (TOpenCLMtxVec, double, double, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
clVector.Normalize Method (TOpenCLMtxVec, double, double, integer, integer, integer)

Normalize Vec object values [VecIndex]..[VecIndex+Len-1] by subtracting a real constant SubOffset from Vec elements and dividing the result by complex constant DivFactor.

Pascal
function Normalize(const Vec: TOpenCLMtxVec; const SubOffset: double; const DivFactor: double; VecIndex: integer; Index: integer; Len: integer): TOpenCLMtxVec; overload;

Store the results in calling vector values [Index]..[Index+Len-1]. An exception is raised if Vec or calling object is complex or array borders are overrun/underrun.

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