TOpenCLValue::Sub Method

Overload List

#SignatureDescription
1TOpenCLBase *Sub(TOpenCLBase *Vec, int VecIndex, int Index, int Len);
2TOpenCLBase *Sub(TOpenCLBase *Vec1, TOpenCLBase *Vec2, int Vec1Index, int Vec2Index, int Index, int Len);
3TOpenCLValue *Sub(TOpenCLValue *Src, double Value);Subtract real Value from Src.
4TOpenCLValue *Sub(TOpenCLValue *Src, TCplx Value);Subtract complex Value from Src.
5TOpenCLValue *Sub(TOpenCLValue *Vec1, TOpenCLValue *Vec2);Subtract Vec2 elements from Vec1 elements.

Overload 1: TOpenCLBase *Sub(TOpenCLBase *Vec, int VecIndex, int Index, int Len);

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

Overload 2: TOpenCLBase *Sub(TOpenCLBase *Vec1, TOpenCLBase *Vec2, int Vec1Index, int Vec2Index, int Index, int Len);

#NameTypeDescription
1Vec1TOpenCLBase *
2Vec2TOpenCLBase *
3Vec1Indexint
4Vec2Indexint
5Indexint
6Lenint
Declared in Dew::Math::TOpenCLBase · Dew.Math/clMtxVec.h · Cross-compiler

Overload 3: TOpenCLValue *Sub(TOpenCLValue *Src, double Value);

Subtract real Value from Src.

#NameTypeDescription
1SrcTOpenCLValue *
2Valuedouble
Remarks:

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

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

Overload 4: TOpenCLValue *Sub(TOpenCLValue *Src, TCplx Value);

Subtract complex Value from Src.

#NameTypeDescription
1SrcTOpenCLValue *
2ValueTCplx
Remarks:

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

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

Overload 5: TOpenCLValue *Sub(TOpenCLValue *Vec1, TOpenCLValue *Vec2);

Subtract Vec2 elements from Vec1 elements.

#NameTypeDescription
1Vec1TOpenCLValue *
2Vec2TOpenCLValue *
Remarks:

Stores the result in the calling object. FloatPrecision and TOpenCLBase::Complex property of calling object are adjusted automatically. An exception is raised, if Vec1 and Vec2 FloatPrecision and TOpenCLBase::Complex property do not match.

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