| Copyright | (c) Sentenai 2017 |
|---|---|
| License | BSD3 |
| Maintainer | sam@sentenai.com |
| Stability | experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Reinforce.Spaces.State
Description
- class StateSpace s where
- class StateSpaceStatic s where
Documentation
class StateSpace s where Source #
State space information to convert to and from a Data.Vector
Minimal complete definition
Methods
toVector :: s -> Vector Double Source #
fromVector :: MonadThrow m => Vector Double -> m s Source #
Instances
| StateSpace StateCP Source # | |
| StateSpace [Float] Source # | |
| StateSpace (Vector Double) Source # | |
| Integral n => StateSpace (Vector n) Source # | |