Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Documentation
class (Storable a, Random a, Num a, Ord a) => Element a Source #
doubleFromElement
Instances
Element Int64 Source # | |
Defined in Numeric.LinearProgramming.Test doubleFromElement :: Int64 -> Double | |
Element Double Source # | |
Defined in Numeric.LinearProgramming.Test doubleFromElement :: Double -> Double |
forAllProblem :: (Indexed sh, Index sh ~ ix, Show ix) => (Testable prop, Element a) => Array sh a -> (Bounds ix -> Constraints ix -> prop) -> Property Source #
forAllBoundedProblem :: (Indexed sh, Index sh ~ ix, Show ix) => (Testable prop, Element a) => Array sh a -> (Bounds ix -> Constraints ix -> prop) -> Property Source #
genObjective :: (Indexed sh, Index sh ~ ix, Element a) => Array sh a -> Gen (Direction, Objective sh) Source #
forAllObjectives :: (Indexed sh, Index sh ~ ix, Show ix) => (Testable prop, Element a) => Array sh a -> (T [] (Direction, [Term (Index sh)]) -> prop) -> Property Source #
successiveObjectives :: (Indexed sh, Index sh ~ ix) => Array sh a -> Double -> T [] (Direction, [Term ix]) -> ((Direction, Objective sh), [(Double -> Constraints ix, (Direction, Objective sh))]) Source #
checkFeasibility :: (Indexed sh, Index sh ~ ix) => Double -> Bounds ix -> Constraints ix -> Array sh Double -> Property Source #