Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
generic-arbitrary Test.QuickCheck.Arbitrary.Generic No documentation available.
class
FiniteSumElem (self :: k) (a :: k1 -> Type)generic-arbitrary Test.QuickCheck.Arbitrary.Generic No documentation available.
-
math-functions Numeric.Sum Second-order Kahan-Babuška summation. This is more computationally costly than Kahan-Babuška-Neumaier summation, running at about a third the speed. Its advantage is that it can lose less precision (in admittedly obscure cases). This method compensates for error in both the sum and the first-order compensation term, hence the use of "second order" in the name.
KB2Sum :: Double -> Double -> Double -> KB2Summath-functions Numeric.Sum No documentation available.
-
math-functions Numeric.Sum Kahan-Babuška-Neumaier summation. This is a little more computationally costly than plain Kahan summation, but is always at least as accurate.
KBNSum :: Double -> Double -> KBNSummath-functions Numeric.Sum No documentation available.
-
math-functions Numeric.Sum Kahan summation. This is the least accurate of the compensated summation methods. In practice, it only beats naive summation for inputs with large magnitude. Kahan summation can be less accurate than naive summation for small-magnitude inputs. This summation method is included for completeness. Its use is not recommended. In practice, KBNSum is both 30% faster and more accurate.
KahanSum :: Double -> Double -> KahanSummath-functions Numeric.Sum No documentation available.
pairwiseSum :: Vector v Double => v Double -> Doublemath-functions Numeric.Sum O(n) Sum a vector of values using pairwise summation. This approach is perhaps 10% faster than KBNSum, but has poorer bounds on its error growth. Instead of having roughly constant error regardless of the size of the input vector, in the worst case its accumulated error grows with O(log n).
-
ghc-boot-th GHC.LanguageExtensions.Type No documentation available.