Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/algorithms/sensorfusion/sources/
Dmagnetic.c603 float fE; // error function = r^T.r in fUpdateMagCalibration4Slice() local
637 fE = pthisMagCal->fvecB[0] * pthisMagCal->fvecA[0]; in fUpdateMagCalibration4Slice()
639 fE += pthisMagCal->fvecB[i] * pthisMagCal->fvecA[i]; in fUpdateMagCalibration4Slice()
642 fE = pthisMagCal->fYTY - 2.0F * fE; in fUpdateMagCalibration4Slice()
654 fE += pthisMagCal->fvecB[i] * pthisMagCal->fvecA[i]; in fUpdateMagCalibration4Slice()
657 fE = sqrtf(fabs(fE) / (float) pthisMagBuffer->iMagBufferCount) * in fUpdateMagCalibration4Slice()
662 pthisMagCal->ftrFitErrorpc = 50.0F * fE / (pthisMagCal->ftrB * pthisMagCal->ftrB); in fUpdateMagCalibration4Slice()
1401 float fE; // error function = r^T.r in fComputeMagCalibration4() local
1534 fE = 0.0F; in fComputeMagCalibration4()
1537 fE += pthisMagCal->fvecA[i] * pthisMagCal->fvecB[i]; in fComputeMagCalibration4()
[all …]