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

Calculate the inverse of all calling object elements in-place. The computation occurs after first limiting the magnitude of each element by the lower bound of Threshold.

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

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!