TOpenCLMatrix.Inv Method

Overload List

#SignatureDescription
1function Inv: TOpenCLMtxVec;Inverse elements.
└ indexed: function Inv(Index: Integer; Len: Integer): TOpenCLMtxVec;
2function Inv(const X: TOpenCLMtxVec): TOpenCLMtxVec;Calculate the inverse of all X object elements without limiting operating.
└ indexed: function Inv(const X: TOpenCLMtxVec; XIndex: Integer; Index: Integer; Len: Integer): TOpenCLMtxVec;

Overload 1: function Inv: TOpenCLMtxVec;

Inverse elements.

Result: stored in self (calling object), returns self for chaining

Remarks:

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

Indexed: function Inv(Index: Integer; Len: Integer): TOpenCLMtxVec;

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

#NameTypeDescription
1IndexIntegerstart index
2LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Remarks:

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

Overload 2: function Inv(const X: TOpenCLMtxVec): TOpenCLMtxVec;

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

#NameTypeDescription
1XTOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix

Result: stored in self (calling object), returns self for chaining

Remarks:

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

Indexed: function Inv(const X: TOpenCLMtxVec; XIndex: Integer; Index: Integer; Len: Integer): TOpenCLMtxVec;

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

#NameTypeDescription
1XTOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix
2XIndexIntegerX start index
3IndexIntegerstart index
4LenIntegerelement count

Result: stored in self (calling object), returns self for chaining

Remarks:

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