TOpenCLVector::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);
3TOpenCLMtxVec *SubFrom(const double Value);Subtraction from value.
4TOpenCLMtxVec *SubFrom(const TCplx &Value);Subtract each of calling object elements from complex Value.
5TOpenCLMtxVec *SubFrom(const double Value, int Index, int Len);Subtract elements [Index]..[Index+Len-1] from Value.
6TOpenCLMtxVec *SubFrom(const TCplx &Value, int Index, int Len);Subtract elements [Index]..[Index+Len-1] from complex Value.
7TOpenCLMtxVec *SubFrom(const double Value, TOpenCLMtxVec *Vec);Substract Vec elements from Value.
8TOpenCLMtxVec *SubFrom(const TCplx &Value, TOpenCLMtxVec *Vec);Substract complex Vec elements from Value.
9TOpenCLMtxVec *SubFrom(const double Value, TOpenCLMtxVec *Vec, int VecIndex, int Index, int Len);Substract Vec elements [VecIndex]..[VecIndex+Len-1] from Value.
10TOpenCLMtxVec *SubFrom(const TCplx &Value, TOpenCLMtxVec *Vec, int VecIndex, int Index, int Len);Substract Vec elements [VecIndex]..[VecIndex+Len-1] from complex Value and store the result to the calling object elements [Index]..[Index+Len-1].

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: TOpenCLMtxVec *SubFrom(const double Value);

Subtraction from value.

#NameTypeDescription
1Valueconst double
Remarks:

Subtract each of calling object elements from Value.

See Also: TOpenCLVector::Add, TOpenCLVector::Sub
Declared in Dew::Math::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler

Overload 4: TOpenCLMtxVec *SubFrom(const TCplx &Value);

Subtract each of calling object elements from complex Value.

#NameTypeDescription
1Valueconst TCplx &
Remarks:

If the calling vector s not complex, the conversion is performed automatically in a performance efficient way.

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

Overload 5: TOpenCLMtxVec *SubFrom(const double Value, int Index, int Len);

Subtract elements [Index]..[Index+Len-1] from Value.

#NameTypeDescription
1Valueconst double
2Indexint
3Lenint
Remarks:

Store the result in calling vector. An exception is raised if array borders are overrun or underrun.

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

Overload 6: TOpenCLMtxVec *SubFrom(const TCplx &Value, int Index, int Len);

Subtract elements [Index]..[Index+Len-1] from complex Value.

#NameTypeDescription
1Valueconst TCplx &
2Indexint
3Lenint
Remarks:

Store the result in calling object. If the calling vector is not complex, the conversion to complex is performed automatically in performance efficient way. An exception is raised if array borders are overrun or underrun.

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

Overload 7: TOpenCLMtxVec *SubFrom(const double Value, TOpenCLMtxVec *Vec);

Substract Vec elements from Value.

#NameTypeDescription
1Valueconst double
2VecTOpenCLMtxVec *
Remarks:

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

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

Overload 8: TOpenCLMtxVec *SubFrom(const TCplx &Value, TOpenCLMtxVec *Vec);

Substract complex Vec elements from Value.

#NameTypeDescription
1Valueconst TCplx &
2VecTOpenCLMtxVec *
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::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler

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

Substract Vec elements [VecIndex]..[VecIndex+Len-1] from Value.

#NameTypeDescription
1Valueconst double
2VecTOpenCLMtxVec *
3VecIndexint
4Indexint
5Lenint
Remarks:

Stores the result to the calling object elements [Index]..[Index+Len-1]. Size property of the calling object is not changed. An exception is raised if array borders are overrun or underrun. TOpenCLBase::Complex property of the calling object is adjusted automatically.

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

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

Substract Vec elements [VecIndex]..[VecIndex+Len-1] from complex Value and store the result to the calling object elements [Index]..[Index+Len-1].

#NameTypeDescription
1Valueconst TCplx &
2VecTOpenCLMtxVec *
3VecIndexint
4Indexint
5Lenint
Remarks:

Size property of the calling object is not changed. An exception is raised if array borders are overrun or underrun. TOpenCLBase::Complex property of the calling object is set to True.

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