Overload List
Overload 1: DewString FormatCplx(const TCplx &Z, const DewString &ReFormat = " 0.###;-0.###", const DewString &ImFormat = "+0.###i;-0.###i");
The complex number Z formated as a string.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Z | const TCplx & | Defines complex number for formatting: Z=Re+I*Im. |
| 2 | ReFormat = " 0.###;-0.###" | const DewString & | Defines string format used for formating real part of Z. |
| 3 | ImFormat = "+0.###i;-0.###i" | const DewString & | Defines string format used for formating imaginary part of Z. |
Returns: the complex number Z formated as a string.
Remarks:
If ReFormat and ImFormat parameters are empty strings, the function calls Math387::CplxToStr.
See Also: Math387::FormatSample
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler
Overload 2: DewString FormatCplx(const TSCplx &Z, const DewString &ReFormat = " 0.###;-0.###", const DewString &ImFormat = "+0.###i;-0.###i");
| # | Name | Type | Description |
|---|---|---|---|
| 1 | Z | const TSCplx & | |
| 2 | ReFormat = " 0.###;-0.###" | const DewString & | |
| 3 | ImFormat = "+0.###i;-0.###i" | const DewString & |
Declared in Dew::Math::Units::Math387 · Dew.Math/Units.Math387.h · Cross-compiler