newfoo¶
Purpose¶
Solves the nonlinear programming problem.
Format¶
-
out =
newfoo(out)¶ Parameters: out (struct) – an instance of an structNameoutstructure. For an instance named out, the members are:Returns: out (struct) – an updated instance of an structNameoutstructure. For an instance named out, the updated members are:
Examples¶
// Set up procedure for updating SS model
// structure
proc (0) = updateSSModel(struct ssModel *ssmod, param);
// Set up kalman filter matrices
ssmod->T = param[1 2]'|(1~0);
ssmod->Q[1, 1] = param[3];
endp;