Function QCM::spectral_average

Function Documentation

double QCM::spectral_average(const string &name, const complex<double> w, int label)

returns the contribution of a frequency w to the average of an operator named ‘name’

Returns the contribution of a frequency to the average of an operator.