| Copyright | (c) Dominik Schrempf 2020 |
|---|---|
| License | GPL-3.0-or-later |
| Maintainer | dominik.schrempf@gmail.com |
| Stability | unstable |
| Portability | portable |
| Safe Haskell | Safe |
| 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 :: Integral a => String -> MonitorParameter a
- monitorRealFloat :: RealFloat a => String -> MonitorParameter a
- monitorRealFloatF :: RealFloat a => String -> MonitorParameter a
- monitorRealFloatS :: RealFloat a => String -> MonitorParameter a
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 real float value being the first entry of a tuple:
mon = _1 @@ monitorRealFloat
Arguments
| :: Integral a | |
| => String | Name of monitor. |
| -> MonitorParameter a |
Monitor integral parameters such as Int.
Arguments
| :: RealFloat a | |
| => String | Name of monitor. |
| -> MonitorParameter a |
Monitor real float parameters such as Double with eight decimal places
(half precision).
Arguments
| :: RealFloat a | |
| => String | Name of monitor. |
| -> MonitorParameter a |
Monitor real float parameters such as Double with full precision.
Arguments
| :: RealFloat a | |
| => String | Name of monitor. |
| -> MonitorParameter a |
Monitor real float parameters such as Double with scientific notation and
eight decimal places.