Searched refs:KahanSum (Results 1 – 3 of 3) sorted by relevance
/system/media/audio_utils/include/audio_utils/ |
D | Statistics.h | 50 struct KahanSum { struct 54 constexpr KahanSum<T>() = default; 56 explicit constexpr KahanSum<T>(const T& value) in KahanSum() argument 61 friend constexpr KahanSum<T> operator+(KahanSum<T> lhs, const T& rhs) { 74 constexpr KahanSum<T>& operator+=(const T& rhs) { // takes T not KahanSum<T> 247 typename S = KahanSum<D>, // compensated mean summation type, if any 726 template <typename D = double, typename S = KahanSum<D>, typename T, 736 template <typename D = double, typename S = KahanSum<D>, typename T, 758 template <typename D = double, typename S = KahanSum<D>, typename T, size_t N> 763 template <typename D = double, typename S = KahanSum<D>, typename T, size_t N>
|
/system/media/audio_utils/benchmarks/ |
D | statistics_benchmark.cpp | 106 android::audio_utils::KahanSum<float>>>(state, in BM_MeanVariance_float_float_Kahan()
|
/system/media/audio_utils/tests/ |
D | statistics_tests.cpp | 147 android::audio_utils::sum<double, android::audio_utils::KahanSum<double>>(simple); in TEST() 154 android::audio_utils::KahanSum<double> ks{}; in TEST() 187 kssum = android::audio_utils::sum<double, android::audio_utils::KahanSum<double>>(tricky); in TEST()
|