ArrayFire: ArrayFire Functions (original) (raw)
Modules
Calculate the absolute value.
Evaluate the cumulative sum (inclusive) along a given dimension.
Evaluate the inverse cosine function (arc cosine).
Evaluate the inverse hyperbolic cosine function (area hyperbolic cosine).
Elementwise addition.
Check if all values along a given dimension are true.
Check if all values along a given dimension are true, according to an array of keys.
Allocate memory on host.
Allocate memory using the ArrayFire memory manager.
Evaluate the logical AND of two arrays.
Anisotropic Smoothing Filter.
Check if any values along a given dimension are true, according to an array of keys.
Check if any values along a given dimension are true.
Interpolation across a single dimension.
Interpolation along two dimensions.
Calculate the phase angle (in radians) of a complex array.
Evaluate the inverse sine function (arc sine).
Evaluate the inverse hyperbolic sine function (area hyperbolic sine).
Copy and write values in the locations specified by the sequences.
Evaluate the inverse tangent function (arc tangent).
Evaluate the inverse hyperbolic tangent function (area hyperbolic tangent).
Bilateral Filter.
Evaluate the bitwise AND of two arrays.
Evaluate the bitwise NOT of an array.
Evaluate the bitwise OR of two arrays.
Shift the bits of integer arrays left.
Shift the bits of integer arrays right.
Evaluate the bitwise XOR of two arrays.
Canny Edge Detector.
Cast an array from one type to another.
Evaluate the cube root.
Rounds up to the least integer greater than or equal to x.
Perform Cholesky decomposition.
Clamp an array between an upper and a lower limit.
Gets a reference of a col in a 2D af::array.
Colorspace conversion function.
Create complex arrays.
Segment image based on similar pixel characteristics.
Evaluate the complex conjugate of an input array.
Create an array from a scalar input value.
Convolution Integral for any(one through three) dimensional data.
Separable Convolution.
Convolution Integral for one dimensional data.
Convolution Integral for two dimensional data.
Convolution Integral for three dimensional data.
Find the correlation coefficient of values in the input.
Evaluate the cosine function.
Evaluate the hyperbolic cosine function.
Count non-zero values in an array along a given dimension.
Count non-zero values in an array, according to an array of keys.
Find the covariance of values in the input.
Delete memory created by saveImageMem and af_save_image_memory function.
Returns a dense array from a sparse input.
Find the determinant of a matrix.
Gets the information about device and platform as strings.
Memory manager related functions.
Extract the diagonal from an array.
Calculate the first order difference in an array over a given dimension.
Calculate the second order difference in an array over a given dimension.
Dilation(morphological operator) for images.
Dilation(morphological operator) for volumes.
Elementwise division.
Difference of Gaussians.
Compute the dot product.
Equal to, an elementwise comparison of two arrays.
Evaluate the error function.
Evaluate the complementary error function.
Erosion(morphological operator) for images.
Erosion(morphological operator) for volumes.
Evaluate the exponential function.
Evaluate the exponential function of an array minus 1, exp(in) - 1.
Evaluate the factorial.
FAST feature detector.
Lookup values of an array based on sequences and/or arrays.
Fast Fourier Transform.
Fast Fourier Transform.
Fast Fourier Transform.
Complex to Real Fast Fourier Transform.
Real to Complex Fast Fourier Transform.
This function implements a Finite Impulse Filter.
Flatten an array.
Flip the input along a specified dimension.
Rounds down to the greatest integer less than or equal to x.
Free memory allocated on host internally by ArrayFire.
Free pinned memory allocated by ArrayFire's memory manager.
Returns memory to ArrayFire's memory manager.
Creates a Gaussian Kernel.
Greater than or equal to, an elementwise comparison of two arrays.
Get's the backend enum for the active backend.
Returns an integer indicating the backends loaded successfully.
Get the number of backends whose libraries were successfully loaded.
Get's the backend enum for an array.
Returns the default random engine object.
Get the current device ID.
Gets the number of compute devices on the system.
Get's the id of the device an array was created on.
Returns the seed for random number generation.
SIFT feature detector and GLOH descriptor extractor.
Calculate the gradients of the input.
Grayscale to RGB colorspace converter.
Greater than comparison, an elementwise comparison of two arrays.
Hamming Matcher.
Harris corner detector.
Histogram equalization of input image.
Histogram of input data.
Homography Estimation.
HSV to RGB colorspace converter.
Evaluate the length of the hypotenuse of two inputs.
Generate an identity matrix.
Fast Fourier Transform.
Fast Fourier Transform.
Fast Fourier Transform.
This function implements a Infinite Impulse Filter.
Returns the imaginary part of a complex array.
Lookup values of an array based on sequences and/or arrays.
Display ArrayFire and device info.
Get af::info() as a string.
Invert a matrix.
Inverse Deconvolution.
Generate an array with [0, n-1] values modified to specified dimensions and tiling.
Check if double precision support is available for specified device.
Check if half(16-bit) precision floating point support is available for specified device.
Returns true if ArrayFire was compiled with ImageIO (FreeImage) support.
Returns true if ArrayFire is compiled with LAPACK support.
Check if values are infinite.
Check if values are NaN.
Check if values are zero.
Iterative Deconvolution.
Join up to 4 arrays along specified dimension.
Less than or equal to, an elementwise comparison of two arrays.
Evaluate the logarithm of the absolute value of the gamma function.
Load an image from disk to an array.
Load an image from memory which is stored as a FreeImage stream (FIMEMORY).
Evaluate the natural logarithm.
Evaluate the base 10 logarithm.
Evaluate the natural logarithm of 1 + input, ln(1+in).
Evaluate the base 2 logarithm.
Lookup values of an array by indexing with another array.
Return the lower triangular matrix from an input array.
Less than, an elementwise comparison of two arrays.
Perform LU decomposition.
Template Matching.
Matrix multiplication.
Returns the elementwise maximum between two arrays.
Return the maximum along a given dimension.
Return the maximum along a given dimension, according to an array of keys.
Find maximum value from a window.
Find the mean of values in the input.
Meanshift Filter.
Median Filter.
Find the median of values in the input.
Returns the elementwise minimum between two arrays.
Return the minimum along a given dimension.
Return the minimum along a given dimension, according to an array of keys.
Find minimum value from a window.
Calculate the modulus.
Modify the dimensions of an array without changing the order of its elements.
The af::moments() function allows for finding different properties of image regions.
Elementwise multiply.
Determine the nearest neighbouring points to a given set of points.
Negate an array.
Not equal to, an elementwise comparison of two arrays.
Find the norm of a matrix.
Evaluate the logical NOT of an array.
Gets a reference to a set of elements.
Multiplies and assigns the value(s) of val to the elements of the af::array.
Adds and assigns the value(s) of val to the elements of the af::array.
Subtracts and assigns the value(s) of val to the elements of the af::array.
Divides and assigns the value(s) of val to the elements of the af::array.
Assignes the value(s) of val to the elements of the af::array.
Evaluate the logical OR of two arrays.
ORB Feature descriptor.
Pad an array.
Allocate pinned memory using ArrayFire's memory manager.
Pseudo-invert (Moore-Penrose) a matrix.
Raise a base to a power (or exponent).
Raise 2 to a power (or exponent).
Print the array to screen.
Multiply array elements over a given dimension.
Multiply array elements over a given dimension, according to an array of keys.
Perform QR decomposition.
Create a random array sampled from normal distribution.
Functions to create, modify, use, and destroy randomEngine objects.
Create a random array sampled from uniform distribution.
Generate an array with [0, n-1] values along the a specified dimension and tiled across other dimensions.
Find the rank of a matrix.
Load an array from a file.
Returns the real part of a complex array.
Find blobs in given image.
Calculate the remainder of a division.
Reorder an array.
Replace elements of an array with elements of another array.
Resize an input image.
RGB to Grayscale colorspace converter.
RGB to HSV colorspace converter.
RGB to YCbCr colorspace converter.
Evaluate the nth root.
Rotate an input image or array.
Round numbers to the nearest integer.
Gets a reference of a row in a 2D af::array.
Evaluate the reciprocal square root.
Summed Area Tables.
Save an array to a binary file.
Save an array to disk as an image.
Save an array to memory as an image using FreeImage stream (FIMEMORY).
Scale an input image.
Scan an array (generalized) over a given dimension.
Scan an array (generalized) over a given dimension, according to an array of keys.
Select elements based on a conditional array.
Set the current backend when using Unified backend.
Set the default random engine type.
Change current device to specified device.
Set the seed for random number generation.
Evaluate the intersection of two arrays.
Evaluate the union of two arrays.
Return the unique values in an array.
Shift an array.
SIFT feature detector and descriptor extractor.
Evaluate the logistical sigmoid function.
Return the sign of elements in an array.
Evaluate the sine function.
Evaluate the hyperbolic sine function.
Skew an input image.
Gets a reference of a matrix in a 3D af::array.
Sobel Operators.
Solve a system of equations.
Solve a system of equations.
Sort an array over a given dimension.
Sort an array over a given dimension, according to an array of keys.
Sort an array over a given dimension and return the original indices.
Create a sparse array.
Convert an existing sparse array into a different storage format.
Returns reference to the column indices component of the sparse array.
Returns reference to components of the input sparse array.
Returns the number of non zero elements in the sparse array.
Returns reference to the row indices component of the sparse array.
Returns the storage type of a sparse array.
Returns reference to the values component of the sparse array.
Evaluate the square root.
Find the standard deviation of values in the input.
Elementwise subtraction.
Sum array elements over a given dimension.
Sum array elements over a given dimension, according to an array of keys.
SUSAN corner detector.
Perform singular value decomposition.
Blocks until all operations on device are finished.
Evaluate the tangent function.
Evaluate the hyperbolic tangent function.
Evaluate the gamma function.
Generate a tiled array by repeating an array's contents along a specified dimension.
Print the array to a string instead of the screen.
This function returns the top k values along a given dimension of the input array.
Transform an input image.
Transform input coordinates.
Translate an input image.
Transpose a matrix.
Truncate numbers to nearest integer.
Rearrange windowed sections of an array into columns (or rows)
Return the upper triangular matrix from an input array.
Find the variance of values in the input.
Locate the indices of the non-zero values in an array.
Performs the opposite of af::unwrap().
YCbCr to RGB colorspace converter.