Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dpdeps.py44 inv = inverse(table)
45 printresults(inv)
124 inv = {}
126 if not inv.has_key(key):
127 inv[key] = []
129 store(inv, item, key)
130 return inv
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/
Dmag_cal.c246 float inv = 1.0f / moc->kasa.nsamples; in magCalUpdate() local
248 moc->kasa.acc_x *= inv; in magCalUpdate()
249 moc->kasa.acc_y *= inv; in magCalUpdate()
250 moc->kasa.acc_z *= inv; in magCalUpdate()
251 moc->kasa.acc_w *= inv; in magCalUpdate()
253 moc->kasa.acc_xx *= inv; in magCalUpdate()
254 moc->kasa.acc_xy *= inv; in magCalUpdate()
255 moc->kasa.acc_xz *= inv; in magCalUpdate()
256 moc->kasa.acc_xw *= inv; in magCalUpdate()
258 moc->kasa.acc_yy *= inv; in magCalUpdate()
[all …]
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/
Daccel_cal.c219 float inv = 0.0f; in accelStillnessDetection() local
238 inv = 1.0f / asd->nsamples; in accelStillnessDetection()
245 asd->var_x = (asd->acc_xx - (asd->acc_x * asd->acc_x) * inv) * inv; in accelStillnessDetection()
246 asd->var_y = (asd->acc_yy - (asd->acc_y * asd->acc_y) * inv) * inv; in accelStillnessDetection()
247 asd->var_z = (asd->acc_zz - (asd->acc_z * asd->acc_z) * inv) * inv; in accelStillnessDetection()
252 asd->mean_x = asd->acc_x * inv; in accelStillnessDetection()
253 asd->mean_y = asd->acc_y * inv; in accelStillnessDetection()
254 asd->mean_z = asd->acc_z * inv; in accelStillnessDetection()
298 float inv = 0.0f; in accelGoodData() local
364 inv = 1.0f / ac1->akf.nsamples; in accelGoodData()
[all …]
/device/google/contexthub/firmware/os/algos/calibration/common/
Ddiversity_checker.c187 float inv = 1.0f / diverse_data->num_points; in diversityCheckerNormQuality() local
188 float var = (acc_norm_square - (acc_norm * acc_norm) * inv) * inv; in diversityCheckerNormQuality()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_multibytecodec_support.py188 inv = self.unmappedunicode
191 self.assertRaises(UnicodeEncodeError, e.encode, inv, True)
194 self.assertEqual(e.encode(inv, True), '')
201 self.assertEqual(e.encode(inv, True), 'called')
205 self.assertEqual(e.encode(inv, True), '')
Dtest_operator.py188 self.assertTrue(operator.inv(4) == -5)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Doperator.c272 spam2o(inv,__inv__, "inv(a) -- Same as ~a.")
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Doperator.c398 spam2o(inv,__inv__, "inv(a) -- Same as ~a.")