J | 現在の層における変数の数\(J^{(m)}\)。 The number of variables \(J^{(m)}\) in the current layer. |
Jnext | 次の層における変数の数\(J^{(m+1)}\)。 The number of variables \(J^{(m+1)}\) in the next layer. |
X | 現在の層における変数の値のリストX[i]\(=X_i^{(m)}\)。
要素数\(J^{(m)}\)の配列として与える。 List of values of variables X[i]\(=X_i^{(m)}\) in the current layer, given as an array of \(J^{(m)}\) components. |
W | 線形結合の係数W[j][i]\(=W_{j,i}^{(m)}\)。
\(J^{(m+1)}\times [J^{(m)}+1]\)
の2次元配列として与える。 The coefficients W[j][i]\(=W_{j,i}^{(m)}\) of the linear combination, given as a 2D array of \(J^{(m+1)}\times [J^{(m)}+1]\) components. |
Y | 計算した線形結合\(Y_j^{(m)}\)の値のリストの代入先。
関数呼び出し前に要素数\(J^{(m+1)}\)の配列として
動的メモリを確保しておくこと。
関数内でY[j]\(=Y_j^{(m)}\)となるように値が設定される。
ここで\(m\)は処理対象とする層番号。 Memory into which the list of the values of linear combinations \(Y_j^{(m)}\) will be inserted. Allocate a dynamic memory in advance to the function call to make this variable an array of \(J^{(m+1)}\) components. Within the function the array values are set as Y[j]\(=Y_j^{(m)}\), where \(m\) is the target layer. |