TOpenCLValue::SubFrom Method

Overload List

#SignatureDescription
1TOpenCLBase *SubFrom(const double Value, TOpenCLBase *Vec, int VecIndex, int Index, int Len);
2TOpenCLBase *SubFrom(const TCplx &Value, TOpenCLBase *Vec, int VecIndex, int Index, int Len);
3TOpenCLValue *SubFrom(double Value, TOpenCLValue *Vec);Substract Vec elements from Value.
4TOpenCLValue *SubFrom(TCplx Value, TOpenCLValue *Vec);Substract Vec from Value.

Overload 1: TOpenCLBase *SubFrom(const double Value, TOpenCLBase *Vec, int VecIndex, int Index, int Len);

#NameTypeDescription
1Valueconst double
2VecTOpenCLBase *
3VecIndexint
4Indexint
5Lenint
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 2: TOpenCLBase *SubFrom(const TCplx &Value, TOpenCLBase *Vec, int VecIndex, int Index, int Len);

#NameTypeDescription
1Valueconst TCplx &
2VecTOpenCLBase *
3VecIndexint
4Indexint
5Lenint
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 3: TOpenCLValue *SubFrom(double Value, TOpenCLValue *Vec);

Substract Vec elements from Value.

#NameTypeDescription
1Valuedouble
2VecTOpenCLValue *
Remarks:

Stores the result in the calling object. FloatPrecision and TOpenCLBase::Complex properties of calling object are adjusted automatically.

Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler

Overload 4: TOpenCLValue *SubFrom(TCplx Value, TOpenCLValue *Vec);

Substract Vec from Value.

#NameTypeDescription
1ValueTCplx
2VecTOpenCLValue *
Remarks:

Stores the result in the calling object. Size property of the calling object is set automatically. TOpenCLBase::Complex property of the calling object is set to True.

Declared in Dew::Math::TOpenCLValue · Dew.Math/clMtxVec.h · Cross-compiler