| 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 |
Mcmc.Monitor.Parameter
Contents
Description
Creation date: Fri May 29 11:11:49 2020.
Synopsis
- data MonitorParameter a = MonitorParameter {}
- (@.) :: Lens' b a -> MonitorParameter a -> MonitorParameter b
- monitorInt :: String -> MonitorParameter Int
- monitorDouble :: String -> MonitorParameter Double
- monitorDoubleF :: String -> MonitorParameter Double
- monitorDoubleE :: String -> MonitorParameter Double
Parameter monitors
data MonitorParameter a Source #
Instruction about a parameter to monitor.
Constructors
| MonitorParameter | |
(@.) :: Lens' b a -> MonitorParameter a -> MonitorParameter b Source #
Convert a parameter monitor from one data type to another using a lens.
For example, to monitor a Double value being the first entry of a tuple:
mon = _1 @@ monitorDouble
Arguments
| :: String | Name. |
| -> MonitorParameter Double |
Monitor Double with eight decimal places (half precision).
Arguments
| :: String | Name. |
| -> MonitorParameter Double |
Monitor Double with full precision computing the shortest string of
digits that correctly represent the number.
Arguments
| :: String | Name. |
| -> MonitorParameter Double |
Monitor Double in exponential format and half precision.