DCProgs 0.9 documentation

Occupancies

«  IdealG   ::   Contents   ::   ExactSurvivor  »

Occupancies

t_initvec occupancies(MissedEventsG const& _this, bool _initial=true)

Solves the equilibrium occupancy equation for initial and final states

The equilibrium equation is \(\phi = \phi M\), \(\sum_i [\phi]_i = 1\), where \(M\) is for initial states \(\mathcal{G}_{AF}(s=0) \mathcal{G}_{FA}(s=0)\). The problem is solved using Eigen’s linear least-square utility, adding an extra row to the matrix to impose the second condition.

Parameters:
  • _this – An IdealG or MissedEventsG instance.
  • bool _initial – Indicates whether to return initial (default, true) or final occupancies.
t_initvec CHS_occupancies(MissedEventsG const& _this, bool _initial=true)

Solves the CHS occupancy equation for initial and final states

For _initial=true this is Eq 5.11 of [4], whereas for _initial=false, it is Eq 5.8.

Note

The initial and final vectors are not quite as satisfyingly symmetric as for other occupancies. However, to simplify the API, this function still deals with both cases.

Parameters:
  • _this – An IdealG or MissedEventsG instance.
  • bool _initial – Indicates whether to return initial (default, true) or final occupancies.

«  IdealG   ::   Contents   ::   ExactSurvivor  »