clVector.DivideBy Method

Overload List

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

Overload 1: function DivideBy(Value: TCplx): TOpenCLMtxVec;

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: function DivideBy(Value: TCplx; Index: Integer; Len: Integer): TOpenCLMtxVec;

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

#NameTypeDescription
1ValueTCplxscalar
2IndexIntegerstart index
3LenIntegerelement 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: function DivideBy(Value: TCplx; Vec: TOpenCLMtxVec): TOpenCLMtxVec;

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. clVector.Complex property of the calling object is set to True.

Indexed: function DivideBy(Value: TCplx; Vec: TOpenCLMtxVec; VecIndex: Integer; Index: Integer; Len: Integer): TOpenCLMtxVec;

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

#NameTypeDescription
1ValueTCplxscalar
2VecTOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix
3VecIndexInteger
4IndexIntegerstart index
5LenIntegerelement 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. clVector.Complex property of the calling object is set to True.

Overload 3: function DivideBy(Value: Double): TOpenCLMtxVec;

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: function DivideBy(Value: Double; Index: Integer; Len: Integer): TOpenCLMtxVec;

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

#NameTypeDescription
1ValueDoublescalar
2IndexIntegerstart index
3LenIntegerelement 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: function DivideBy(Value: Double; Vec: TOpenCLMtxVec): TOpenCLMtxVec;

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 clVector.Complex properties of the calling object are set automatically.

Indexed: function DivideBy(Value: Double; Vec: TOpenCLMtxVec; VecIndex: Integer; Index: Integer; Len: Integer): TOpenCLMtxVec;

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

#NameTypeDescription
1ValueDoublescalar
2VecTOpenCLMtxVecsource TOpenCLVector or TOpenCLMatrix
3VecIndexInteger
4IndexIntegerstart index
5LenIntegerelement 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. clVector.Complex property of the calling object is set implicitly.