Home
last modified time | relevance | path

Searched refs:solver (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/firmware/os/algos/common/math/
Dlevenberg_marquardt.c31 void lmSolverInit(struct LmSolver *solver, const struct LmParams *params, in lmSolverInit() argument
33 ASSERT_NOT_NULL(solver); in lmSolverInit()
36 memset(solver, 0, sizeof(struct LmSolver)); in lmSolverInit()
37 memcpy(&solver->params, params, sizeof(struct LmParams)); in lmSolverInit()
38 solver->func = func; in lmSolverInit()
39 solver->num_iter = 0; in lmSolverInit()
42 void lmSolverDestroy(struct LmSolver *solver) { in lmSolverDestroy() argument
43 (void)solver; in lmSolverDestroy()
46 void lmSolverSetData(struct LmSolver *solver, struct LmData *data) { in lmSolverSetData() argument
47 ASSERT_NOT_NULL(solver); in lmSolverSetData()
[all …]
Dlevenberg_marquardt.h111 void lmSolverInit(struct LmSolver *solver, const struct LmParams *params,
114 void lmSolverDestroy(struct LmSolver *solver);
118 void lmSolverSetData(struct LmSolver *solver, struct LmData *data);
134 enum LmStatus lmSolverSolve(struct LmSolver *solver, const float *initial_state,