TOpenCLMatrix::Productc Method

Overload List

#SignatureDescription
1TCplx Productc();Elements product.
2TCplx Productc(int Index, int Len);Returns the complex product for calling object complex elements [Index]..[Index+Len-1].

Overload 1: TCplx Productc();

Elements product.

Returns: the complex product of all calling object complext elements.

Remarks:
X=k=0V.Length1V[k]X = \prod _{k=0} ^{\text{V.Length}-1} \text{V}[k]

An exception is raised if calling object TOpenCLBase::Complex property is false.

See Also: TOpenCLMatrix::Product
Declared in Dew::Math::TOpenCLMtxVec · Dew.Math/clMtxVec.h · Cross-compiler

Overload 2: TCplx Productc(int Index, int Len);

Returns the complex product for calling object complex elements [Index]..[Index+Len-1].

#NameTypeDescription
1Indexint
2Lenint
Remarks:

An exception is raised if array borders are overrun or underrun or if TOpenCLBase::Complex propety is false.

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