| Copyright | (c) 2013 John McDonnell; |
|---|---|
| License | BSD3 |
| Maintainer | bos@serpentine.com |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell98 |
Statistics.Distribution.Transform
Description
Transformations over distributions
Synopsis
- data LinearTransform d = LinearTransform {
- linTransLocation :: !Double
- linTransScale :: !Double
- linTransDistr :: d
- linTransFixedPoint :: LinearTransform d -> Double
- scaleAround :: Double -> Double -> d -> LinearTransform d
Documentation
data LinearTransform d Source #
Linear transformation applied to distribution.
LinearTransform μ σ _ x' = μ + σ·x
Constructors
| LinearTransform | |
Fields
| |
Instances
linTransFixedPoint :: LinearTransform d -> Double Source #
Get fixed point of linear transformation
Arguments
| :: Double | Fixed point |
| -> Double | Scale parameter |
| -> d | Distribution |
| -> LinearTransform d |
Apply linear transformation to distribution.