@Override public double getDouble(int i) { assert Utils.check(i < size, "bounds check"); assert Utils.check(i >= 0, "bounds check"); if (i < excludeIndex) { return orig.getDouble(i); } else { return orig.getDouble(i + 1); } }
@Override public double getDouble(int i) { int j = index.getInt(i); assert Utils.check(j > 0); if (j > vsize) { return RDouble.NA; } else { return value.getDouble(j - 1); } }