docs: public void set(int index, double element) {
  	// overridden for performance only.
  	if (index >= size || index < 0)
  		throw new IndexOutOfBoundsException("Index: "+index+", Size: "+size);
  	elements[index] = element;
  }