You are here: Symbol Reference > AbstractMtxVec Namespace > Classes > TMtxVec Class > public > Normalize Method > TMtxVec.Normalize Method (TMtxVec, Double, Double, integer, integer, integer)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVec.Normalize Method (TMtxVec, 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: TMtxVec; const SubOffset: Double; const DivFactor: Double; VecIndex: integer; Index: integer; Len: integer): TMtxVec; 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-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!