code: public void setComplex_atIndex(int index, double real, double imag){
  		this.real[index] = real;
  		this.imag[index] = imag;
  		if(synchronizePowerSpectrum){
  			computePower(index);
  		}
  	}
docs: Sets real part and imaginary part of the complex number at specified index.
  <br>
  If {@link #isSynchronizePowerSpectrum()} is true, then this will also
  update the corresponding power value.
  @param index for the value to be set
  @param real part
  @param imag part