TOpenCLMatrix.DivideBy Method

Overload List

#SignatureDescription
1TOpenCLMtxVec DivideBy(TCplx Value)Divide complex Value with elements of the calling object.
└ indexed: TOpenCLMtxVec DivideBy(TCplx Value, Int32 Index, Int32 Len)
2TOpenCLMtxVec DivideBy(TCplx Value, TOpenCLMtxVec Vec)Divide complex Value with elements from Vec and store the result in the corresponding elements of the calling object.
└ indexed: TOpenCLMtxVec DivideBy(TCplx Value, TOpenCLMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len)
3TOpenCLMtxVec DivideBy(Double Value)Divide Value with elements of the calling object and store the result in the calling object.
└ indexed: TOpenCLMtxVec DivideBy(Double Value, Int32 Index, Int32 Len)
4TOpenCLMtxVec DivideBy(Double Value, TOpenCLMtxVec Vec)Divide Value with elements from Vec and store the result in the corresponding elements of the calling object.
└ indexed: TOpenCLMtxVec DivideBy(Double Value, TOpenCLMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len)

Overload 1: TOpenCLMtxVec DivideBy(TCplx Value)

Divide complex Value with elements of the calling object.

#NameTypeDescription
1ValueTCplxscalar

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

Remarks:

Store the result in the calling object.

Indexed: TOpenCLMtxVec DivideBy(TCplx Value, Int32 Index, Int32 Len)

Divide complex Value with elements [Index]...[Index+Len-1] from the calling object.

#NameTypeDescription
1ValueTCplxscalar
2IndexInt32start index
3LenInt32element count

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

Remarks:

Store the result in the calling object at position [Index]...[Index+Len-1]. Calling vector will be extended to complex, if the calling vector is real. An exception will be raised if array borders are overrun or underrun.

Overload 2: TOpenCLMtxVec DivideBy(TCplx Value, TOpenCLMtxVec Vec)

Divide complex Value with elements from Vec and store the result in the corresponding elements of the calling object.

#NameTypeDescription
1ValueTCplxscalar
2VecTOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix

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

Remarks:

Size of the calling object is set automatically. Dew.Math.TOpenCLBase.Complex property of the calling object is set to True.

Indexed: TOpenCLMtxVec DivideBy(TCplx Value, TOpenCLMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len)

Divide complex Value with elements [VecIndex]..[VecIndes+Len-1] from Vec.

#NameTypeDescription
1ValueTCplxscalar
2VecTOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix
3VecIndexInt32
4IndexInt32start index
5LenInt32element count

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

Remarks:

Store the result in the elements [Index]..[Index+Len-1] of the calling object. Size of the calling object is not changed. An exception will be raised array borders are overrun or underrun. Dew.Math.TOpenCLBase.Complex property of the calling object is set to True.

Overload 3: TOpenCLMtxVec DivideBy(Double Value)

Divide Value with elements of the calling object and store the result in the calling object.

#NameTypeDescription
1ValueDoublescalar

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

Indexed: TOpenCLMtxVec DivideBy(Double Value, Int32 Index, Int32 Len)

Divide Value with elements [Index]...[Index+Len-1] from the calling object.

#NameTypeDescription
1ValueDoublescalar
2IndexInt32start index
3LenInt32element count

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

Remarks:

Store the result in the calling object at position [Index]...[Index+Len-1]. An exception will be raised if array borders are overrun or underrun.

Overload 4: TOpenCLMtxVec DivideBy(Double Value, TOpenCLMtxVec Vec)

Divide Value with elements from Vec and store the result in the corresponding elements of the calling object.

#NameTypeDescription
1ValueDoublescalar
2VecTOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix

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

Remarks:

Size and Dew.Math.TOpenCLBase.Complex properties of the calling object are set automatically.

Indexed: TOpenCLMtxVec DivideBy(Double Value, TOpenCLMtxVec Vec, Int32 VecIndex, Int32 Index, Int32 Len)

Divide Value with Vec elements [VecIndex]..[VecIndes+Len-1].

#NameTypeDescription
1ValueDoublescalar
2VecTOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix
3VecIndexInt32
4IndexInt32start index
5LenInt32element count

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

Remarks:

Store the result in the elements [Index]..[Index+Len-1] of the calling object. Size of the calling object is not changed. An exception will be raised array borders are overrun or underrun. Dew.Math.TOpenCLBase.Complex property of the calling object is set implicitly.