code: public void set(double[] value) {
          checkIndex(value.length);
  
          for (int i = 0; i < value.length; ++i) {
              if (value[i] != 0d)
                  set(i, value[i]);
          }
      }
docs: {@inheritDoc}
  
  Note that any values which are 0 are left out of the vector.