Stores info about a Cholesky decomposition.
Definition: linalg.h:53
int ndlqr_FreeCholeskyFactors(NdLqrCholeskyFactors *cholfacts)
Free the memory of a CholeskyFactors object.
Definition: cholesky_factors.c:38
int ndlqr_GetSFactorization(NdLqrCholeskyFactors *cholfacts, int leaf, int level, CholeskyInfo **cholfact)
Get the CholeskyInfo for the output of ndlqr_SolveCholeskyFactor().
Definition: cholesky_factors.c:65
int ndlqr_GetRFactorizon(NdLqrCholeskyFactors *cholfacts, int index, CholeskyInfo **cholfact)
Get the CholeskyInfo for the matrix R at index index.
Definition: cholesky_factors.c:57
NdLqrCholeskyFactors * ndlqr_NewCholeskyFactors(int depth, int nhorizon)
Initialize a new NdLqrCholeskyFactors object.
Definition: cholesky_factors.c:6
Defines core linear algebra routines needed by the solvers.
int ndlqr_GetQFactorizon(NdLqrCholeskyFactors *cholfacts, int index, CholeskyInfo **cholfact)
Get the CholeskyInfo for the matrix Q at index index.
Definition: cholesky_factors.c:49
Stores a list of CholeskyInfo structs for the rsLQR solver.
Definition: cholesky_factors.h:30