Skip to contents

An engine is a constructor function(tau, m, control) returning a list of closures with the FROZEN signatures documented in mixqr_engine_contract(). Sub-projects 03–06 of the QMM suite ship engines this way without forking the driver.

Usage

register_mixqr_engine(name, constructor)

Arguments

name

Character engine name (e.g. "ald", "kdEM").

constructor

Function (tau, m, control) -> mixqr_engine (a list of closures: estep, mstep_pi, mstep_beta, update_density, loglik, npar, plus name).

Value

Invisibly TRUE.