Module

Economics.Utility.VNM

Package
purescript-vnm-utility
Repository
colehaus/purescript-vnm-utility

#geometricMean Source

#geometricMidpointish Source

geometricMidpointish :: Lower Number -> Upper Number -> Number

Geometric mean of two numbers with some business logic for handling edge cases

#widest Source

widest :: forall n f a. EuclideanRing n => Ord a => Ord n => Foldable f => Ring n => f (Tuple a (NonEmpty n)) -> Tuple a (NonEmpty n)

#pickNextLottery Source

pickNextLottery :: forall a. Ord a => UtilityFn a Number -> Ratio a Number

#refine Source

refine :: forall n a. Ord a => Ord n => Ratio a n -> Ordering -> UtilityFn a n -> UtilityFn a n

#isComplete Source

isComplete :: forall n a. Ord a => Eq n => Ord n => Semiring n => Ring n => UtilityFn a n -> Boolean