語言

IRandomGenerator.NextExponential 方法

定義

回傳一個非負 double 值,該值是從平均值為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

傳回

一個非負 double 值,從指數分布中偽隨機選擇

屬性

備註

回傳一個非負 double 值,該值是從平均值為1的指數分布中偽隨機選擇。

Java 文件 java.util.random.RandomGenerator.nextExponential()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於