public void set(long ind, MatrixValue b) {
   remainIndex = ind;
   value.copy(b);
 }
 public RemainIndexValue(long ind, MatrixValue b) throws Exception {
   remainIndex = ind;
   valueClass = b.getClass();
   value = valueClass.newInstance();
   value.copy(b);
 }