clVector::Difference Method

TOpenCLMtxVec *Difference(TOpenCLMtxVec *Vec, int Lag = 1) const;

Calculate the difference for all Vec elements.

#NameTypeDescription
1VecTOpenCLMtxVec *
2Lag = 1int
Remarks:

Store the results in the calling vector. The TOpenCLBase::Length of the calling vector is set to one less the length of Vec and TOpenCLBase::Complex property is set to Vec.Complex.

The Length of calling vector is automatically decremented by one.

Declared in Dew::Math::clVector · Dew.Math/clMtxExpr.h · Cross-compiler