clMatrix::InvElem Method

Overload List

#SignatureDescription
1TOpenCLMatrix *InvElem() const;The inverse of clMatrix elements.
2TOpenCLMatrix *InvElem(TOpenCLMtxVec *X) const;

Overload 1: TOpenCLMatrix *InvElem() const;

The inverse of clMatrix elements.

Remarks:

Calculates the inverse of all clMatrix elements in place. The computation occurs after first limiting the magnitude of each elements by the lower bound of Treshhold. The limiting operation is performed to avoid division by zero. Since Treshold 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. To bypass the limiting operation set the Threshold to zero.

See Also: clMatrix::MulElem
Declared in Dew::Math::clMatrix · Dew.Math/clMtxExpr.h · Cross-compiler

Overload 2: TOpenCLMatrix *InvElem(TOpenCLMtxVec *X) const;

#NameTypeDescription
1XTOpenCLMtxVec *
Declared in Dew::Math::clMatrix · Dew.Math/clMtxExpr.h · Cross-compiler