#include <libDS_ui.h>
The ArxDS is constructed from a structure with fields:
system = { type = "ArxDS"; // number of output channels ychns = 2; // number of input channels uchns = 0; // regressor ids (only those in ychns or uchns) ids = [1, 1, 1, 2]; // regressor time delays delays = [-1, -2, -3, 0]; // theta theta = [0.8, -0.3, 0.4, 1.0, 0.0, 0.0, 0.0, 0.0]; // offset (optional) offset = [0.0, 0.0]; //variance r = [0.1, 0.0, 0.0, 1.0]; //options: L_theta, etc. opt = "L_theta"; };
ychns
and uchns
will be transformed into rvs of size=1.
Result is ARX data source offering with full history as Drv.
Public Member Functions | |
bdmroot * | build (Setting &S) const |
Function building the computational object. | |
Protected Member Functions | |
const vec | getvec (Setting &S) const |
const mat | getmat (Setting &S, int ncols) const |
const vec | getivec (Setting &S) const |