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

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

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

Store the results in calling vector complex values [Index]..[Index+Len-1]. An exception is raised if Vec or calling object is not 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!