A high-performance general-purpose compute library
ArrayFire Functions

Topics

 abs
 
 
 accum
 
 
 acos
 
 
 acosh
 
 
 add
 
 
 allTrue
 
 
 allTrueByKey
 
 
 allocHost
 
 
 allocV2
 
 
 and
 
 
 anisotropicDiffusion
 
 
 anyTrueByKey
 
 
 anytrue
 
 
 approx1
 
 
 approx2
 
 
 arg
 
 
 asin
 
 
 asinh
 
 
 assign
 
 
 atan/atan2
 
 
 atanh
 
 
 bilateral
 
 
 bitand
 
 
 bitnot
 
 
 bitor
 
 
 bitshiftl
 
 
 bitshiftr
 
 
 bitxor
 
 
 canny
 
 
 cast
 
 
 cbrt
 
 
 ceil
 
 
 cholesky
 
 
 clamp
 
 
 col/cols
 
 
 colorSpace
 
 
 complex
 
 
 confidenceCC
 
 
 conjg
 
 
 constant
 
 
 convolve (Non-separable)
 
 
 convolve (Separable)
 
 
 convolve1
 
 
 convolve2
 
 
 convolve3
 
 
 corrcoef
 
 
 cos
 
 
 cosh
 
 
 count
 
 
 countByKey
 
 
 cov
 
 
 deleteImageMem
 
 
 dense
 
 
 det
 
 
 deviceInfo
 
 
 deviceMemInfo
 
 
 diag
 
 
 diff1
 
 
 diff2
 
 
 dilate
 
 
 dilate3d
 
 
 div
 
 
 dog
 
 
 dot
 
 
 eq
 
 
 erf
 
 
 erfc
 
 
 erode
 
 
 erode3d
 
 
 exp
 
 
 expm1
 
 
 factorial
 
 
 fast
 
 
 features
 
 
 fft
 
 
 fft2
 
 
 fft3
 
 
 fftC2R
 
 
 fftR2C
 
 
 fir
 
 
 flat
 
 
 flip
 
 
 floor
 
 
 freeHost
 
 
 freePinned
 
 
 freeV2
 
 
 gaussiankernel
 
 
 ge
 
 
 getActiveBackend
 
 
 getAvailableBackends
 
 
 getBackendCount
 
 
 getBackendId
 
 
 getDefaultRandomEngine
 
 
 getDevice
 
 
 getDeviceCount
 
 
 getDeviceId
 
 
 getSeed
 
 
 gloh
 
 
 grad
 
 
 gray2rgb
 
 
 gt
 
 
 hammingMatcher
 
 
 harris
 
 
 histequal
 
 
 histogram
 
 
 homography
 
 
 hsv2rgb
 
 
 hypot
 
 
 identity
 
 
 ifft
 
 
 ifft2
 
 
 ifft3
 
 
 iir
 
 
 imag
 
 
 index
 
 
 info
 
 
 infoString
 
 
 inverse
 
 
 inverseDeconv
 
 
 iota
 
 
 isDoubleAvailable
 
 
 isHalfAvailable
 
 
 isImageIoAvailable
 
 
 isLAPACKAvailable
 
 
 isinf
 
 
 isnan
 
 
 iszero
 
 
 iterativeDeconv
 
 
 join
 
 
 le
 
 
 lgamma
 
 
 loadImage
 
 
 loadImageMem
 
 
 log
 
 
 log10
 
 
 log1p
 
 
 log2
 
 
 lookup
 
 
 lower
 
 
 lt
 
 
 lu
 
 
 matchTemplate
 
 
 matmul
 
 
 max
 
 
 max
 
 
 maxByKey
 
 
 maxfilt
 
 
 mean
 
 
 meanshift
 
 
 medfilt
 
 
 median
 
 
 min
 
 
 min
 
 
 minByKey
 
 
 minfilt
 
 
 mod
 
 
 moddims
 
 
 moments
 
 
 mul
 
 
 nearestNeighbour
 
 
 neg
 
 
 neq
 
 
 norm
 
 
 not
 
 
 operator()
 
 
 operator(star)=
 
 
 operator+=
 
 
 operator-=
 
 
 operator/=
 
 
 operator=
 
 
 or
 
 
 orb
 
 
 pad
 
 
 pinned
 
 
 pinverse
 
 
 pow
 
 
 pow2
 
 
 print
 
 
 product
 
 
 productByKey
 
 
 qr
 
 
 randn
 
 
 randomEngine
 
 
 randu
 
 
 range
 
 
 rank
 
 
 readArray
 
 
 real
 
 
 regions
 
 
 rem
 
 
 reorder
 
 
 replace
 
 
 resize
 
 
 rgb2gray
 
 
 rgb2hsv
 
 
 rgb2ycbcr
 
 
 root
 
 
 rotate
 
 
 round
 
 
 row/rows
 
 
 rsqrt
 
 
 sat
 
 
 saveArray
 
 
 saveImage
 
 
 saveImageMem
 
 
 scale
 
 
 scan
 
 
 scanByKey
 
 
 select
 
 
 setBackend
 
 
 setDefaultRandomEngineType
 
 
 setDevice
 
 
 setSeed
 
 
 setintersect
 
 
 setunion
 
 
 setunique
 
 
 shift
 
 
 sift
 
 
 sigmoid
 Evaluate the logistical sigmoid function.
 
 sign
 
 
 sin
 
 
 sinh
 
 
 skew
 
 
 slice/slices
 
 
 sobel
 
 
 solve
 
 
 solveLU
 
 
 sort
 
 
 sortByKey
 
 
 sortIndex
 
 
 sparse
 
 
 sparseConvertTo
 
 
 sparseGetColdx
 
 
 sparseGetInfo
 
 
 sparseGetNNZ
 
 
 sparseGetRowIdx
 
 
 sparseGetStorage
 
 
 sparseGetValues
 
 
 sqrt
 
 
 stdev
 
 
 sub
 
 
 sum
 
 
 sumByKey
 
 
 susan
 
 
 svd
 
 
 sync
 
 
 tan
 
 
 tanh
 
 
 tgamma
 
 
 tile
 
 
 toString
 
 
 topk
 
 
 transform
 
 
 transformCoordinates
 
 
 translate
 
 
 transpose
 
 
 trunc
 
 
 unwrap
 
 
 upper
 
 
 var
 
 
 where
 
 
 wrap
 
 
 ycbcr2rgb
 
 

Detailed Description