Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double Product() const; | Elements product. |
| 2 | double Product(int Index, int Len) const; | Returns the product for calling object elements [Index]..[Index+Len-1]. |
| 3 | void Product(TCplx &X) const; | Calculate the product of all calling object complex elements. |
| 4 | void Product(TCplx &X, int Index, int Len) const; | Calculate the product for calling object complex elements [Index]..[Index+Len-1]. |
| 5 | void Product(double &X) const; | Calculate the product of all calling object elements. |
| 6 | void Product(double &X, int Index, int Len) const; | Calculate the product for calling object elements [Index]..[Index+Len-1]. |
Overload 1: double Product() const;
Elements product.
Returns: the product of all calling object elements
An exception is raised if calling object clMatrix::Complex property is true.
Overload 2: double Product(int Index, int Len) const;
Returns the product for calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Index | int | |
| 2 | Len | int |
An exception is raised if array borders are overrun or underrun.
Overload 3: void Product(TCplx &X) const;
Calculate the product of all calling object complex elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TCplx & |
Store the result in complex variable X.
Overload 4: void Product(TCplx &X, int Index, int Len) const;
Calculate the product for calling object complex elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | TCplx & | |
| 2 | Index | int | |
| 3 | Len | int |
Store the result in complex variable X. An exception is raised if array borders are overrun or underrun.
Overload 5: void Product(double &X) const;
Calculate the product of all calling object elements.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | double & |
Store the result in real variable X.
Overload 6: void Product(double &X, int Index, int Len) const;
Calculate the product for calling object elements [Index]..[Index+Len-1].
| # | Name | Type | Description |
|---|---|---|---|
| 1 | X | double & | |
| 2 | Index | int | |
| 3 | Len | int |
Store the result in real variable X. An exception is raised if array borders are overrun or underrun.