N | データサンプル数\(N\)。 The number of data samples \(N\). |
d | 実数値\(d_1,\cdots,d_N\)を並べた配列。 An array composed of the real numbers \(d_1,\cdots,d_N\). |
w | 各データの重み\(w_1,\cdots,w_N\)を並べた配列。 An array composed of the weights \(w_1,\cdots,w_N\) of individual data. |
average | \(d_1,\cdots,d_N\)の重み付き平均。 A weighted average of \(d_1,\cdots,d_N\). |