Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/algos/common/math/
Dlevenberg_marquardt.c20 size_t state_dim, size_t meas_dim,
49 void *f_data, size_t state_dim, size_t meas_dim, in lmSolverSolve() argument
56 if (meas_dim > MAX_LM_MEAS_DIMENSION || state_dim > MAX_LM_STATE_DIMENSION) { in lmSolverSolve()
72 memcpy(state, initial_state, sizeof(float) * state_dim); in lmSolverSolve()
78 solver->params.gradient_threshold, state_dim, in lmSolverSolve()
87 matMaxDiagonalElement(data->hessian, state_dim); in lmSolverSolve()
96 state_dim, data->step)) { in lmSolverSolve()
101 if (checkRelativeStepSize(data->step, state, state_dim, in lmSolverSolve()
107 vecAdd(state_new, state, data->step, state_dim); in lmSolverSolve()
116 damping_factor, state_dim, in lmSolverSolve()
[all …]
Dlevenberg_marquardt.h133 void *f_data, size_t state_dim, size_t meas_dim,
154 float damping_factor, size_t state_dim,