Copyright | (c) Dominik Schrempf 2020 |
---|---|
License | GPL-3.0-or-later |
Maintainer | dominik.schrempf@gmail.com |
Stability | unstable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Creation date: Thu May 14 20:26:27 2020.
Synopsis
- moveGenericContinuous :: (ContDistr d, ContGen d) => Lens' a Double -> d -> (Double -> Double -> Double) -> (Double -> Double -> Double) -> MoveSimple a
- moveSymmetricGenericContinuous :: (ContDistr d, ContGen d) => Lens' a Double -> d -> (Double -> Double -> Double) -> MoveSimple a
- moveGenericDiscrete :: (DiscreteDistr d, DiscreteGen d) => Lens' a Int -> d -> (Int -> Int -> Int) -> (Int -> Int -> Int) -> MoveSimple a
- moveSymmetricGenericDiscrete :: (DiscreteDistr d, DiscreteGen d) => Lens' a Int -> d -> (Int -> Int -> Int) -> MoveSimple a
Documentation
moveGenericContinuous Source #
:: (ContDistr d, ContGen d) | |
=> Lens' a Double | Instruction about which parameter to change. |
-> d | Probability distribution |
-> (Double -> Double -> Double) | Forward operator, e.g. (+), so that x + dx = y. |
-> (Double -> Double -> Double) | Inverse operator, e.g.,(-), so that y - dx = x. |
-> MoveSimple a |
Generic function to create moves for continuous parameters (Double
).
moveSymmetricGenericContinuous Source #
:: (ContDistr d, ContGen d) | |
=> Lens' a Double | Instruction about which parameter to change. |
-> d | Probability distribution |
-> (Double -> Double -> Double) | Forward operator, e.g. (+), so that x + dx = y. |
-> MoveSimple a |
Generic function to create symmetric moves for continuous parameters (Double
).
:: (DiscreteDistr d, DiscreteGen d) | |
=> Lens' a Int | Instruction about which parameter to change. |
-> d | Probability distribution. |
-> (Int -> Int -> Int) | Forward operator, e.g. (+), so that x + dx = y. |
-> (Int -> Int -> Int) | Inverse operator, e.g.,(-), so that y - dx = x. |
-> MoveSimple a |
Generic function to create moves for discrete parameters (Int
).
moveSymmetricGenericDiscrete Source #
:: (DiscreteDistr d, DiscreteGen d) | |
=> Lens' a Int | Instruction about which parameter to change. |
-> d | Probability distribution. |
-> (Int -> Int -> Int) | Forward operator, e.g. (+), so that x + dx = y. |
-> MoveSimple a |
Generic function to create symmetric moves for discrete parameters (Int
).