powered by
Internal function. Check if the index of the weight is okay. Should not be used except you know what you are doing
.checkWIdx(iW, wLth)
Nothing.
Index of the weight we want to optimize.
Number of weights in the model.