元編程參考文件

分佈抽樣

1 個節點

本頁內容 1

取樣正態分佈矩陣

函數

此節點沒有文件說明。

過載 1/2

簽名
取樣正態分佈矩陣 -> 數字陣列陣列
    均值: IValuesCollection
    標準差: IValuesCollection
    行數: 整數
    隨機數生成器: RandomSource
double[][] SampleNormalMatrix(
    IValuesCollection means,
    IValuesCollection sigmas,
    int rowCount,
    RandomSource rng)

參數

名稱型別預設值說明
均值IValuesCollection—
標準差IValuesCollection—
行數整數—
隨機數生成器RandomSource—

返回

結果數字陣列陣列

過載 2/2

簽名
取樣正態分佈矩陣 -> 數字陣列陣列
    均值: IReadOnlyList<數字>
    標準差: IReadOnlyList<數字>
    行數: 整數
    隨機數生成器: RandomSource
double[][] SampleNormalMatrix(
    IReadOnlyList<double> means,
    IReadOnlyList<double> sigmas,
    int rowCount,
    RandomSource rng)

參數

名稱型別預設值說明
均值IReadOnlyList<數字>—
標準差IReadOnlyList<數字>—
行數整數—
隨機數生成器RandomSource—

返回

結果數字陣列陣列
所屬發行版
元編程(教育版)元編程(專業版)
可用的圖種類
資料流 函數 事件 例程 藍圖 狀態機狀態
宣告於
分佈抽樣
所屬包
數值計算