Array Manipulation
These functions help modify the structure or arrangement of arrays.
af.approx1() - Interpolation across a single dimension. |
af.approx1_uniform() - Interpolation across a single dimension in uniform steps |
af.approx2() - Interpolation along two dimensions. |
af.approx2_uniform() - Interpolation along two dimensions in uniform steps |
af.flat() - Flatten an array. |
af.flip() - Flip the input along a specified dimension. |
af.join() - Join up to 4 arrays along specified dimension. |
af.pad() - Pad an array. |
af.reorder() - Reorder an array. |
af.replace() - Replace elements of an array with elements of another array. |
af.reshape() - Modify the dimensions of an array without changing the order of its elements |
af.resize() - Resize an input image. |
af.rotate() - Rotate an input image or array. |
af.scale() - Scale an input image. |
af.select() - Select elements based on a conditional array. |
af.set_intersect() - Evaluate the intersection of two arrays |
af.set_union() - Evaluate the union of two arrays |
af.set_unique() - Return the unique values in an array |
af.shift() - Shift an array. |
af.sort() - Sort an array over a given dimension |
af.tile() - Generate a tiled array by repeating an array’s contents along a specified dimension. |
af.transpose() - Transpose a matrix. |
af.unwrap() - Rearrange windowed sections of an array into columns (or rows) |
af.wrap() - Performs the opposite of af::unwrap(). |