Vector::Inv Method

Overload List

#SignatureDescription
1TMtxVec *Inv() const;Invert elements.
2TMtxVec *Inv(int Index, int Len) const;Calculate the inverse of calling object elements [Index]..[Index+Len-1] in-place.
3TMtxVec *Inv(double Threshold) const;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.
4TMtxVec *Inv(double Threshold, int Index, int Len) const;Calculate the inverse of calling object elements [Index]..[Index+Len-1] in-place after limiting the magnitude of each element by the lower bound of Threshold.
5TMtxVec *Inv(TMtxVec *X) const;Calculate the inverse of all X object elements without limiting operating.
6TMtxVec *Inv(TMtxVec *X, int XIndex, int Index, int Len) const;Calculate the inverse of X object elements [XIndex]..[XIndex+Len-1] without limiting operating.
7TMtxVec *Inv(TMtxVec *X, double Threshold) const;Calculate the inverse of all X object elements anmd store the results to calling object elements.
8TMtxVec *Inv(TMtxVec *X, double Threshold, int XIndex, int Index, int Len) const;Calculate the inverse of X object elements [XIndex]..[XIndex+Len-1] after limiting the magnitude of each element by the lower bound of Threshold.

Overload 1: TMtxVec *Inv() const;

Invert elements.

Remarks:

Calculates the inverse of all calling object elements in-place without limiting inverse operation.

See Also: Vector::Divide
Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 2: TMtxVec *Inv(int Index, int Len) const;

Calculate the inverse of calling object elements [Index]..[Index+Len-1] in-place.

#NameTypeDescription
1Indexint
2Lenint
Remarks:

An exception is raised if array borders are overrun/underrun.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 3: TMtxVec *Inv(double Threshold) const;

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.

#NameTypeDescription
1Thresholddouble
Remarks:

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.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 4: TMtxVec *Inv(double Threshold, int Index, int Len) const;

Calculate the inverse of calling object elements [Index]..[Index+Len-1] in-place after limiting the magnitude of each element by the lower bound of Threshold.

#NameTypeDescription
1Thresholddouble
2Indexint
3Lenint
Remarks:

An exception is raised if array borders are overrun/underrun.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 5: TMtxVec *Inv(TMtxVec *X) const;

Calculate the inverse of all X object elements without limiting operating.

#NameTypeDescription
1XTMtxVec *
Remarks:

Store the results in calling object. Size and Vector::Complex property of calling object are adjusted automatically.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 6: TMtxVec *Inv(TMtxVec *X, int XIndex, int Index, int Len) const;

Calculate the inverse of X object elements [XIndex]..[XIndex+Len-1] without limiting operating.

#NameTypeDescription
1XTMtxVec *
2XIndexint
3Indexint
4Lenint
Remarks:

Store the results in calling object elements [Index]..[Index+Len-1]. An exception is raised if X and calling object Vector::Complex property does not match or array borders are overrun/underrun.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 7: TMtxVec *Inv(TMtxVec *X, double Threshold) const;

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

#NameTypeDescription
1XTMtxVec *
2Thresholddouble
Remarks:

Size and Vector::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.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler

Overload 8: TMtxVec *Inv(TMtxVec *X, double Threshold, int XIndex, int Index, int Len) const;

Calculate the inverse of X object elements [XIndex]..[XIndex+Len-1] after limiting the magnitude of each element by the lower bound of Threshold.

#NameTypeDescription
1XTMtxVec *
2Thresholddouble
3XIndexint
4Indexint
5Lenint
Remarks:

Store the results in calling object elements [Index]..[Index+Len-1]. An exception is raised if X and calling object Vector::Complex property do not match or array borders are overrun/underrun.

Declared in Dew::Math::Vector · Dew.Math/MtxExpr.h · Cross-compiler