Overload List
| # | Signature | Description |
|---|---|---|
| 1 | function IntPower(const Base: TCplx; const N: Integer): TCplx; overload; | Power function (integer power). |
| 2 | function IntPower(const Base: TSCplx; const N: Integer): TSCplx; overload; | |
| 3 | function IntPower(const Base: double; const Exponent : Integer): double; overload; | Power function (integer power). |
| 4 | function IntPowerf(const Base: single; const Exponent : Integer): single; overload; |
Overload 1: function IntPower(const Base: TCplx; const N: Integer): TCplx; overload;
Power function (integer power).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TCplx | scalar |
| 2 | N | Integer |
Returns: TCplx (complex) - Returns complex Base to an integer power N.
Remarks:
Try to avoid calling this function for small powers. N can also be negative.
Overload 2: function IntPower(const Base: TSCplx; const N: Integer): TSCplx; overload;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | TSCplx | scalar |
| 2 | N | Integer |
Returns: TSCplx
Overload 3: function IntPower(const Base: double; const Exponent : Integer): double; overload;
Power function (integer power).
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | double | scalar |
| 2 | Exponent | Integer |
Returns: double - Base to an integer power N.
Remarks:
Try to avoid calling this function for small powers. N can also be negative.
Overload 4: function IntPowerf(const Base: single; const Exponent : Integer): single; overload;
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Base | single | scalar |
| 2 | Exponent | Integer |
Returns: single