Copyright | David Johnson (c) 2019-2020 |
---|---|
License | BSD 3 |
Maintainer | David Johnson <djohnson.m@gmail.com> |
Stability | Experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- createFeatures :: Int -> Features
- retainFeatures :: Features -> Features
- getFeaturesNum :: Features -> Int
- getFeaturesXPos :: Features -> Array a
- getFeaturesYPos :: Features -> Array a
- getFeaturesScore :: Features -> Array a
- getFeaturesOrientation :: Features -> Array a
- getFeaturesSize :: Features -> Array a
Documentation
createFeatures :: Int -> Features Source #
Construct Features
>>>
features = createFeatures (createFeatures 10)
retainFeatures :: Features -> Features Source #
Retain Features
>>>
features = retainFeatures (createFeatures 10)
getFeaturesNum :: Features -> Int Source #
Get number of Features
link
>>>
getFeaturesNum (createFeatures 10)
10
getFeaturesXPos :: Features -> Array a Source #
Get Feature X-position
>>>
getFeaturesXPos (createFeatures 10)
ArrayFire Array [10 1 1 1] 0.0000 0.0000 0.0000 0.0000 0.0000 2.1250 0.0000 2.2500 0.0000 0.0000
getFeaturesYPos :: Features -> Array a Source #
Get Feature Y-position
>>>
getFeaturesYPos (createFeatures 10)
ArrayFire Array [10 1 1 1] 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
getFeaturesScore :: Features -> Array a Source #
Get Feature Score
>>>
getFeaturesScore (createFeatures 10)
ArrayFire Array [10 1 1 1] 0.0000 1.8750 0.0000 2.0000 0.0000 2.1250 0.0000 2.2500 nan nan
getFeaturesOrientation :: Features -> Array a Source #
Get Feature orientation
>>>
getFeaturesOrientation (createFeatures 10)
ArrayFire Array [10 1 1 1] 0.0000 1.8750 0.0000 2.0000 0.0000 2.1250 0.0000 2.2500 0.0000 0.0000
getFeaturesSize :: Features -> Array a Source #
Get Feature size
>>>
getFeaturesSize (createFeatures 10)
ArrayFire Array [10 1 1 1] nan nan nan nan nan nan nan nan nan nan