Copyright | David Johnson (c) 2019-2020 |
---|---|
License | BSD3 |
Maintainer | David Johnson <djohnson.m@gmail.com> |
Stability | Experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- data AFException = AFException {}
- data AFExceptionType
- = NoMemoryError
- | DriverError
- | RuntimeError
- | InvalidArrayError
- | ArgError
- | SizeError
- | TypeError
- | DiffTypeError
- | BatchError
- | DeviceError
- | NotSupportedError
- | NotConfiguredError
- | NonFreeError
- | NoDblError
- | NoGfxError
- | LoadLibError
- | LoadSymError
- | BackendMismatchError
- | InternalError
- | UnknownError
- | UnhandledError
- data Array a
- data Window
- data RandomEngine
- data Features
- class Storable a => AFType a where
- data TopK
- data Backend
- data MatchType
- data BinaryOp
- data MatProp
- data HomographyType
- data RandomEngineType
- data Cell = Cell {}
- data MarkerType
- data InterpType
- data Connectivity
- data CSpace
- data YccStd
- data MomentType
- = M00
- | M01
- | M10
- | M11
- | FirstOrder
- data CannyThreshold
- data FluxFunction
- data DiffusionEq
- data IterativeDeconvAlgo
- data InverseDeconvAlgo
- data Seq = Seq {}
- data Index a = Index {}
- data NormType
- data ConvMode
- data ConvDomain
- data BorderType
- data Storage
- data AFDType
- newtype AFDtype = AFDtype {}
- data ColorMap
Documentation
data AFException Source #
Exception type for ArrayFire API
AFException | |
|
Instances
Eq AFException Source # | |
Defined in ArrayFire.Exception (==) :: AFException -> AFException -> Bool # (/=) :: AFException -> AFException -> Bool # | |
Show AFException Source # | |
Defined in ArrayFire.Exception showsPrec :: Int -> AFException -> ShowS # show :: AFException -> String # showList :: [AFException] -> ShowS # | |
Exception AFException Source # | |
Defined in ArrayFire.Exception |
data AFExceptionType Source #
ArrayFire exception type
Instances
Eq AFExceptionType Source # | |
Defined in ArrayFire.Exception (==) :: AFExceptionType -> AFExceptionType -> Bool # (/=) :: AFExceptionType -> AFExceptionType -> Bool # | |
Show AFExceptionType Source # | |
Defined in ArrayFire.Exception showsPrec :: Int -> AFExceptionType -> ShowS # show :: AFExceptionType -> String # showList :: [AFExceptionType] -> ShowS # |
ArrayFire Array
Instances
(AFType a, Eq a) => Eq (Array a) Source # | |
(Ord a, AFType a, Fractional a) => Floating (Array a) Source # | |
(Fractional a, AFType a) => Fractional (Array a) Source # | |
(Num a, AFType a) => Num (Array a) Source # | |
Show (Array a) Source # | |
data RandomEngine Source #
ArrayFire RandomEngine
class Storable a => AFType a where Source #
Mapping of Haskell types to ArrayFire types
Instances
Match type
MatchTypeSAD | |
MatchTypeZSAD | |
MatchTypeLSAD | |
MatchTypeSSD | |
MatchTypeZSSD | |
MatchTypeLSSD | |
MatchTypeNCC | |
MatchTypeZNCC | |
MatchTypeSHD |
Instances
Enum MatchType Source # | |
Defined in ArrayFire.Internal.Types succ :: MatchType -> MatchType # pred :: MatchType -> MatchType # fromEnum :: MatchType -> Int # enumFrom :: MatchType -> [MatchType] # enumFromThen :: MatchType -> MatchType -> [MatchType] # enumFromTo :: MatchType -> MatchType -> [MatchType] # enumFromThenTo :: MatchType -> MatchType -> MatchType -> [MatchType] # | |
Eq MatchType Source # | |
Ord MatchType Source # | |
Defined in ArrayFire.Internal.Types | |
Show MatchType Source # | |
Binary operation support
data HomographyType Source #
Homography Type
Instances
data RandomEngineType Source #
Type for different RandomEngines
Instances
Eq RandomEngineType Source # | |
Defined in ArrayFire.Internal.Types (==) :: RandomEngineType -> RandomEngineType -> Bool # (/=) :: RandomEngineType -> RandomEngineType -> Bool # | |
Show RandomEngineType Source # | |
Defined in ArrayFire.Internal.Types showsPrec :: Int -> RandomEngineType -> ShowS # show :: RandomEngineType -> String # showList :: [RandomEngineType] -> ShowS # |
Cell type, used in Graphics module
data MarkerType Source #
Marker type
MarkerTypeNone | |
MarkerTypePoint | |
MarkerTypeCircle | |
MarkerTypeSquare | |
MarkerTypeTriangle | |
MarkerTypeCross | |
MarkerTypePlus | |
MarkerTypeStar |
Instances
data InterpType Source #
Interpolation type
Nearest | |
Linear | |
Bilinear | |
Cubic | |
LowerInterp | |
LinearCosine | |
BilinearCosine | |
Bicubic | |
CubicSpline | |
BicubicSpline |
Instances
data Connectivity Source #
Connectivity Type
Instances
Color Space type
data MomentType Source #
Moment types
Instances
Eq MomentType Source # | |
Defined in ArrayFire.Internal.Types (==) :: MomentType -> MomentType -> Bool # (/=) :: MomentType -> MomentType -> Bool # | |
Ord MomentType Source # | |
Defined in ArrayFire.Internal.Types compare :: MomentType -> MomentType -> Ordering # (<) :: MomentType -> MomentType -> Bool # (<=) :: MomentType -> MomentType -> Bool # (>) :: MomentType -> MomentType -> Bool # (>=) :: MomentType -> MomentType -> Bool # max :: MomentType -> MomentType -> MomentType # min :: MomentType -> MomentType -> MomentType # | |
Show MomentType Source # | |
Defined in ArrayFire.Internal.Types showsPrec :: Int -> MomentType -> ShowS # show :: MomentType -> String # showList :: [MomentType] -> ShowS # |
data CannyThreshold Source #
Canny Theshold type
Instances
data FluxFunction Source #
Flux function type
Instances
data DiffusionEq Source #
Diffusion type
Instances
data IterativeDeconvAlgo Source #
Iterative deconvolution algo type
Instances
data InverseDeconvAlgo Source #
Inverse deconvolution algo type
Instances
Norm Type
NormVectorOne | treats the input as a vector and returns the sum of absolute values |
NormVectorInf | treats the input as a vector and returns the max of absolute values |
NormVector2 | treats the input as a vector and returns euclidean norm |
NormVectorP | treats the input as a vector and returns the p-norm |
NormMatrix1 | return the max of column sums |
NormMatrixInf | return the max of row sums |
NormMatrix2 | returns the max singular value). Currently NOT SUPPORTED |
NormMatrixLPQ | returns Lpq-norm |
NormEuclid | The default. Same as AF_NORM_VECTOR_2 |
Instances
Enum NormType Source # | |
Defined in ArrayFire.Internal.Types | |
Eq NormType Source # | |
Show NormType Source # | |
Convolution Mode
ConvDefault | Output of the convolution is the same size as input |
ConvExpand | Output of the convolution is signal_len + filter_len - 1 |
Instances
Enum ConvMode Source # | |
Defined in ArrayFire.Internal.Types | |
Eq ConvMode Source # | |
Show ConvMode Source # | |
data ConvDomain Source #
Convolution Domain
ConvDomainAuto | ArrayFire automatically picks the right convolution algorithm |
ConvDomainSpatial | Perform convolution in spatial domain |
ConvDomainFreq | Perform convolution in frequency domain |
Instances
Enum ConvDomain Source # | |
Defined in ArrayFire.Internal.Types succ :: ConvDomain -> ConvDomain # pred :: ConvDomain -> ConvDomain # toEnum :: Int -> ConvDomain # fromEnum :: ConvDomain -> Int # enumFrom :: ConvDomain -> [ConvDomain] # enumFromThen :: ConvDomain -> ConvDomain -> [ConvDomain] # enumFromTo :: ConvDomain -> ConvDomain -> [ConvDomain] # enumFromThenTo :: ConvDomain -> ConvDomain -> ConvDomain -> [ConvDomain] # | |
Eq ConvDomain Source # | |
Defined in ArrayFire.Internal.Types (==) :: ConvDomain -> ConvDomain -> Bool # (/=) :: ConvDomain -> ConvDomain -> Bool # | |
Show ConvDomain Source # | |
Defined in ArrayFire.Internal.Types showsPrec :: Int -> ConvDomain -> ShowS # show :: ConvDomain -> String # showList :: [ConvDomain] -> ShowS # |
data BorderType Source #
Border Type
Instances
Storage type used for Sparse arrays
Instances
Enum Storage Source # | |
Eq Storage Source # | |
Ord Storage Source # | |
Show Storage Source # | |
Array Fire types
Instances
Enum AFDType Source # | |
Eq AFDType Source # | |
Show AFDType Source # | |
Instances
Eq AFDtype Source # | |
Show AFDtype Source # | |
Storable AFDtype Source # | |
ColorMap type
ColorMapDefault | |
ColorMapSpectrum | |
ColorMapColors | |
ColorMapRed | |
ColorMapMood | |
ColorMapHeat | |
ColorMapBlue | |
ColorMapInferno | |
ColorMapMagma | |
ColorMapPlasma | |
ColorMapViridis |
Instances
Enum ColorMap Source # | |
Defined in ArrayFire.Internal.Types | |
Eq ColorMap Source # | |
Ord ColorMap Source # | |
Defined in ArrayFire.Internal.Types | |
Show ColorMap Source # | |