Home | History | Annotate | Download | only in interpolation

Lines Matching refs:weights

189      * @param weights point weights: coefficients by which the robustness weight of a point is multiplied
199 public final double[] smooth(final double[] xval, final double[] yval, final double[] weights)
214 checkAllFiniteReal(weights, LocalizedFormats.NON_REAL_FINITE_WEIGHT);
242 // starting with all robustness weights set to 1.
254 updateBandwidthInterval(xval, weights, i, bandwidthInterval);
270 // the product of robustness weights and the tricube
286 final double w = tricube(dist * denom) * robustnessWeights[k] * weights[k];
313 // No need to recompute the robustness weights at the last
319 // Recompute the robustness weights.
375 * the same number of points closest to xval[i], ignoring zero weights.
378 * @param weights weights array
386 private static void updateBandwidthInterval(final double[] xval, final double[] weights,
394 weights, right);
396 int nextLeft = nextNonzero(weights, bandwidthInterval[0]);
403 * Returns the smallest index j such that j > i && (j==weights.length || weights[j] != 0)
404 * @param weights weights array
405 * @param i the index from which to start search; must be < weights.length
406 * @return the smallest index j such that j > i && (j==weights.length || weights[j] != 0)
408 private static int nextNonzero(final double[] weights, final int i) {
410 while(j < weights.length && weights[j] == 0) {