code: public final double set0(int idx, double d) {
      setWrite();
      if( _chk2.set_impl(idx,d) ) return d;
      (_chk2 = inflate_impl(new NewChunk(this))).set_impl(idx,d);
      return d;
    }
docs: Set a double element in a chunk given a 0-based chunk local index.