Partager via


IRandomGenerator.NextExponential Method

Definition

Returns a nonnegative double value pseudorandomly chosen from an exponential distribution whose mean is 1.

[Android.Runtime.Register("nextExponential", "()D", "GetNextExponentialHandler:Java.Util.RandomGenerators.IRandomGenerator, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)]
public virtual double NextExponential ();
[<Android.Runtime.Register("nextExponential", "()D", "GetNextExponentialHandler:Java.Util.RandomGenerators.IRandomGenerator, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=35)>]
abstract member NextExponential : unit -> double
override this.NextExponential : unit -> double

Returns

a nonnegative double value pseudorandomly chosen from an exponential distribution

Attributes

Remarks

Returns a nonnegative double value pseudorandomly chosen from an exponential distribution whose mean is 1.

Java documentation for java.util.random.RandomGenerator.nextExponential().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to