Returns a complex number with single-precision real and imaginary parts
set to random numbers between 0.0 and 1.0. The bounds are either strictly
less than one, or less than or equal to one, depending on the value of the
given boolean parameter.
NMath (in NMath.dll) Version: 7.4
public FloatComplex NextFloatComplex(
Public Function NextFloatComplex (
includeOne As Boolean
) As FloatComplex
member NextFloatComplex :
includeOne : bool -> FloatComplex
- includeOne Boolean
If true, the real and imaginary parts are less than or equal to 1.0; otherwise,
they are strictly less than 1.0.
, this method returns a complex number
with real and imaginary parts equal to random numbers that are greater than or
equal to 0.0, and less than or equal to 1.0. If includeOne
then the values will be greater strictly less than 1.0.