int ndlqr_InitializeLQRProblem(LQRProblem *lqrproblem, double *x0, LQRData **lqrdata)
Initialize the problem with an initial state and the LQR data.
Definition: lqr_problem.c:7
int ndlqr_FreeLQRProblem(LQRProblem *lqrprob)
Free the data stored by and LQRProblem.
Definition: lqr_problem.c:38
LQRProblem * ndlqr_NewLQRProblem(int nstates, int ninputs, int nhorizon)
Initialize a new LQRProblem data with unitialized data.
Definition: lqr_problem.c:16
Holds the data for a single time step of LQR.
Definition: lqr_data.h:54
Describes an LQR problem with affine terms.
Definition: lqr_problem.h:31