function getComplexWithIndex(complex, index) {
	  var real = complex[index * 2];
	  var imag = complex[index * 2 + 1];
	  return {
	    real: real,
	    imag: imag
	  };
	}
Get the map representing a complex value in the given array.
@param complex The complex tensor values.
@param index An index of the target complex value.