Note: This API is now obsolete.
Constructs a complex number from rectangular or
polar components.
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Version4x.Net40 (in Extreme.Numerics.Version4x.Net40.dll) Version: 4.2.11333.0 (5.0.12317.0)
[ObsoleteAttribute("Please use the FromPolar method instead.")]
public SingleComplex(
float a,
float b,
bool polar
)
<ObsoleteAttribute("Please use the FromPolar method instead.")>
Public Sub New (
a As Single,
b As Single,
polar As Boolean
)
public:
[ObsoleteAttribute(L"Please use the FromPolar method instead.")]
SingleComplex(
float a,
float b,
bool polar
)
[<ObsoleteAttribute("Please use the FromPolar method instead.")>]
new :
a : float32 *
b : float32 *
polar : bool -> SingleComplex
Parameters
- a
- Type: SystemSingle
If polar is true,
specifies the modulus of the complex number.
If polar is false,
specifies the real part. - b
- Type: SystemSingle
If polar is true,
specifies the argument of the complex number.
If polar is false,
specifies the imaginary part. - polar
- Type: SystemBoolean
Indicates whether the parameters
a and b are for
the polar (polar= true or
rectangular (polar= false)
representation.
A complex number can be defined in two ways.
The standard way is to specify its real and imaginary
parts. If polar is false,
the a and
b parameters are interpreted
respectively as the real and imaginary components
of the complex number.
A complex number can also be specified in polar
form. If polar is true,
the a parameter is taken to be
the modulus, and the
b parameter is taken to be the
argument of the complex
number. The corresponding complex number is equal to
a cos b
+ ia sin b.
Note: This constructor has been deprecated.
Please use the FromPolar(Single, Single) method instead.
Numerical Libraries
Obsolete (compiler warning) in 5.x
Obsolete (compiler warning) in 4.x
Reference