NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ fermi() [2/2]

template<typename T >
dvector cntr::fermi ( beta,
dvector &  omega 

Evaluates the Fermi distribution function for multiple energies.


Evaluates the Fermi distribution function \( n_\mathrm{F}(\omega)\) at given inverse temperature \(\beta\) for a vector of energies.


[T] inverse temperature \(\beta\)


[dvector] vector of energies

Definition at line 71 of file cntr_equilibrium_impl.hpp.

References fermi().

71  {
72  int size=omega.size();
73  dvector tmp(size);
74  for(int i=0;i<size;i++){
75  tmp(i)=fermi(beta,omega(i));
76  }
77  return tmp;
78 }
T fermi(T beta, T omega)
Evaluates the Fermi distribution function.
+ Here is the call graph for this function: