Overload List
| # | Signature | Description |
|---|---|---|
| 1 | double Sign(const double a, const double b); | Fortran sign function. |
| 2 | TCplx Sign(const TCplx &Z); | Changes the sign of a complex number. |
| 3 | TSCplx Sign(const TSCplx &Z); |
Overload 1: double Sign(const double a, const double b);
Fortran sign function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | a | const double | |
| 2 | b | const double |
Returns: It uses slightly different definition for changing sign of a complex number: * if b>=0, it returns |a|, * otherwise, -|a|.
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 2: TCplx Sign(const TCplx &Z);
Changes the sign of a complex number.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Z | const TCplx & |
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 3: TSCplx Sign(const TSCplx &Z);
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Z | const TSCplx & |
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler