@@ -21,7 +21,7 @@ import ArrayFire.Internal.Types
|
21 | 21 | import ArrayFire.FFI
|
22 | 22 | import ArrayFire.Exception
|
23 | 23 |
|
24 |
| --- | Construct 'Features' |
| 24 | +-- | Construct Features |
25 | 25 | --
|
26 | 26 | -- >>> features = createFeatures (createFeatures 10)
|
27 | 27 | --
|
@@ -37,7 +37,7 @@ createFeatures (fromIntegral -> n) =
|
37 | 37 | fptr <- newForeignPtr af_release_features ptr
|
38 | 38 | pure (Features fptr)
|
39 | 39 |
|
40 |
| --- | Retain 'Features' |
| 40 | +-- | Retain Features |
41 | 41 | --
|
42 | 42 | -- >>> features = retainFeatures (createFeatures 10)
|
43 | 43 | --
|
@@ -46,7 +46,7 @@ retainFeatures
|
46 | 46 | -> Features
|
47 | 47 | retainFeatures = (`op1f` af_retain_features)
|
48 | 48 |
|
49 |
| --- | Get number of 'Feature's |
| 49 | +-- | Get number of Features |
50 | 50 | --
|
51 | 51 | -- link
|
52 | 52 | --
|
@@ -58,7 +58,7 @@ getFeaturesNum
|
58 | 58 | -> Int
|
59 | 59 | getFeaturesNum = fromIntegral . (`infoFromFeatures` af_get_features_num)
|
60 | 60 |
|
61 |
| --- | Get 'Feature' X-position |
| 61 | +-- | Get Feature X-position |
62 | 62 | --
|
63 | 63 | -- >>> getFeaturesXPos (createFeatures 10)
|
64 | 64 | -- ArrayFire Array
|
@@ -70,7 +70,7 @@ getFeaturesXPos
|
70 | 70 | -> Array a
|
71 | 71 | getFeaturesXPos = (`featuresToArray` af_get_features_xpos)
|
72 | 72 |
|
73 |
| --- | Get 'Feature' Y-position |
| 73 | +-- | Get Feature Y-position |
74 | 74 | --
|
75 | 75 | -- >>> getFeaturesYPos (createFeatures 10)
|
76 | 76 | -- ArrayFire Array
|
@@ -82,7 +82,7 @@ getFeaturesYPos
|
82 | 82 | -> Array a
|
83 | 83 | getFeaturesYPos = (`featuresToArray` af_get_features_ypos)
|
84 | 84 |
|
85 |
| --- | Get 'Feature' Score |
| 85 | +-- | Get Feature Score |
86 | 86 | --
|
87 | 87 | -- >>> getFeaturesScore (createFeatures 10)
|
88 | 88 | -- ArrayFire Array
|
@@ -94,7 +94,7 @@ getFeaturesScore
|
94 | 94 | -> Array a
|
95 | 95 | getFeaturesScore = (`featuresToArray` af_get_features_score)
|
96 | 96 |
|
97 |
| --- | Get 'Feature' orientation |
| 97 | +-- | Get Feature orientation |
98 | 98 | --
|
99 | 99 | -- >>> getFeaturesOrientation (createFeatures 10)
|
100 | 100 | -- ArrayFire Array
|
@@ -106,7 +106,7 @@ getFeaturesOrientation
|
106 | 106 | -> Array a
|
107 | 107 | getFeaturesOrientation = (`featuresToArray` af_get_features_orientation)
|
108 | 108 |
|
109 |
| --- | Get 'Feature' size |
| 109 | +-- | Get Feature size |
110 | 110 | --
|
111 | 111 | -- >>> getFeaturesSize (createFeatures 10)
|
112 | 112 | -- ArrayFire Array
|
|
0 commit comments