Array Creation Functions
Functions in this category are used to initialize arrays with specific values or patterns.
af.cast() - Cast an array from one type to another. |
af.constant() - Create an array from a scalar input value. |
af.copy_array() - Performs a deep copy of the array. |
af.cplx() - Creates complex arrays from real and imaginary parts |
af.diag() - Extract the diagonal from an array. |
af.eval() - Evaluate an expression (nonblocking). |
af.gaussian_kernel() - Creates a Gaussian Kernel. |
af.identity() - Generate an identity matrix. |
af.iota() - Generate an array with [0, n-1] values modified to specified dimensions and tiling. |
af.isinf() - Check if values are infinite. |
af.isnan() - Check if values are NaN. |
af.iszero() - Check if values are zero. |
af.lookup() - Lookup values of an array by indexing with another array. |
af.lower() - Return the lower triangular matrix from an input array. - Find maximum value from a window. |
af.ones() - Creates an array filled with ones. |
af.randn() - Create a random array sampled from normal distribution. |
af.randu() - Create a random array sampled from uniform distribution. |
af.range() - Generate an array with [0, n-1] values along the a specified dimension and tiled across other dimensions. |
af.upper() - Return the upper triangular matrix from an input array. |
af.where() - Locate the indices of the non-zero values in an array. |
af.zeros() - Creates an array filled with zeros. |