You are here: Symbol Reference > AbstractMtxVec Namespace > Classes > TMtxVec Class > public > Inv Method > TMtxVec.Inv Method (TMtxVec, double)
MtxVec VCL
ContentsIndex
PreviousUpNext
TMtxVec.Inv Method (TMtxVec, double)

Calculate the inverse of all X object elements anmd store the results to calling object elements.

Pascal
function Inv(const X: TMtxVec; const Threshold: double): TMtxVec; overload;

Size and Complex property of calling obhect are adjusted automatically. The computation occurs after first limiting the magnitude of each element by the lower bound of Threshold. The limiting operation is performed to avoid division by zero. Since Threshold represents a magnitude, it is always real and must always be positive. 

For complex versions, the magnitude of the input is limited, but the phase remains unchanged. Zero-valued input is assumed to have zero phase.

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