Home
last modified time | relevance | path

Searched refs:residual (Results 1 – 4 of 4) sorted by relevance

/device/google/contexthub/firmware/os/algos/common/math/
Dlevenberg_marquardt.c21 float *residual, float *gradient,
83 meas_dim, data->residual, in lmSolverSolve()
117 const float gain_ratio = computeGainRatio(data->residual, in lmSolverSolve()
133 state_dim, meas_dim, data->residual, in lmSolverSolve()
155 float computeGainRatio(const float *residual, const float *residual_new, in computeGainRatio() argument
160 const float true_gain = vecDot(residual, residual, meas_dim) in computeGainRatio()
219 float *residual, float *gradient, in computeResidualAndGradients() argument
223 ASSERT_NOT_NULL(residual); in computeResidualAndGradients()
226 func(state, f_data, residual, jacobian); in computeResidualAndGradients()
231 matTransposeMultiplyVec(gradient, jacobian, residual, meas_dim, state_dim); in computeResidualAndGradients()
Dlevenberg_marquardt.h46 float *residual, float *jacobian);
75 float residual[MAX_LM_MEAS_DIMENSION]; member
154 float computeGainRatio(const float *residual, const float *residual_new,
/device/google/contexthub/firmware/os/algos/calibration/sphere_fit/
Dsphere_fit_calibration.c117 float *residual, float *jacobian) { in sphereFitResidAndJacobianFunc() argument
120 ASSERT_NOT_NULL(residual); in sphereFitResidAndJacobianFunc()
177 residual[i] = norm - data->expected_norm; in sphereFitResidAndJacobianFunc()
Dsphere_fit_calibration.h138 float *residual, float *jacobian);