clVector::Productc Method

Overload List

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

Overload 1: TCplx Productc() const;

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 clVector::Complex property is false.

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

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

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 clVector::Complex propety is false.

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