}
Vec4D sw = new Vec4D();
for (int l = 0; l <= q; l++) {
sw.addSelf(tmp[l].scaleSelf((float) bfv[l]));
}
return sw.unweightInto(out);
}
public Vec4D[][][][] surfaceDerivCpts(int d, int r1, int r2, int s1, int s2) {
Vec4D[][][][] result = new Vec4D[d + 1][d + 1][r2 - r1 + 1][s2 - s1 + 1];