clValue.Add Method

Overload List

#SignatureDescription
1TOpenCLValue Add(TOpenCLValue Vec, TCplx Value)Add values in Src1 and Src2.
2TOpenCLValue Add(TOpenCLValue Src1, TOpenCLValue Src2)Add values in Src1 and Src2.
3TOpenCLValue Add(TOpenCLValue Vec, Double Value)Add values in Src1 and Src2.

Overload 1: TOpenCLValue Add(TOpenCLValue Vec, TCplx Value)

Add values in Src1 and Src2.

#NameTypeDescription
1VecTOpenCLValuesource TOpenCLValue
2ValueTCplxscalar

Returns: TOpenCLValue

Remarks:

The result is stored in the calling object. Dew.Math.clValue.FloatPrecision and Dew.Math.clValue.Complex properties of the calling object are set implicitly to match Vec and Value.

Overload 2: TOpenCLValue Add(TOpenCLValue Src1, TOpenCLValue Src2)

Add values in Src1 and Src2.

#NameTypeDescription
1Src1TOpenCLValuesource TOpenCLValue
2Src2TOpenCLValuesource TOpenCLValue

Returns: TOpenCLValue

Remarks:

The result is stored in the calling object. Dew.Math.clValue.FloatPrecision and Dew.Math.clValue.Complex properties of the calling object are set implicitly to match Src1 and Src2.

Overload 3: TOpenCLValue Add(TOpenCLValue Vec, Double Value)

Add values in Src1 and Src2.

#NameTypeDescription
1VecTOpenCLValuesource TOpenCLValue
2ValueDoublescalar

Returns: TOpenCLValue

Remarks:

The result is stored in the calling object. Dew.Math.clValue.FloatPrecision and Dew.Math.clValue.Complex properties of the calling object are set implicitly to match Vec and Value.