Generate an array with [0, n-1] values along the a specified dimension and tiled across other dimensions.  
More...
| Functions | |
| array | range (const dim4 &dims, const int seq_dim=-1, const dtype ty=f32) | 
| C++ Interface to generate an array with [0, n-1]values along theseq_dimdimension and tiled across other dimensions of shapedim4. | |
| array | range (const dim_t d0, const dim_t d1=1, const dim_t d2=1, const dim_t d3=1, const int seq_dim=-1, const dtype ty=f32) | 
| C++ Interface to generate an array with [0, n-1]values along theseq_dimdimension and tiled across other dimensions described by dimension parameters. | |
| af_err | af_range (af_array *out, const unsigned ndims, const dim_t *const dims, const int seq_dim, const af_dtype type) | 
| C Interface to generate an array with [0, n-1]values along theseq_dimdimension and tiled across other dimensions of shapedim4. | |
Generate an array with [0, n-1] values along the a specified dimension and tiled across other dimensions. 
Examples:
| af_err af_range | ( | af_array * | out, | 
| const unsigned | ndims, | ||
| const dim_t *const | dims, | ||
| const int | seq_dim, | ||
| const af_dtype | type ) | 
C Interface to generate an array with [0, n-1] values along the seq_dim dimension and tiled across other dimensions of shape dim4. 
| [out] | out | range array | 
| [in] | ndims | number of dimensions, specified by the size of dims | 
| [in] | dims | size | 
| [in] | seq_dim | dimension along which the range is created | 
| [in] | type | type | 
C++ Interface to generate an array with [0, n-1] values along the seq_dim dimension and tiled across other dimensions of shape dim4. 
| [in] | dims | size | 
| [in] | seq_dim | dimesion along which the range is created | 
| [in] | ty | type | 
| array range | ( | const dim_t | d0, | 
| const dim_t | d1 = 1, | ||
| const dim_t | d2 = 1, | ||
| const dim_t | d3 = 1, | ||
| const int | seq_dim = -1, | ||
| const dtype | ty = f32 ) | 
C++ Interface to generate an array with [0, n-1] values along the seq_dim dimension and tiled across other dimensions described by dimension parameters. 
| [in] | d0 | size of the first dimension | 
| [in] | d1 | size of the second dimension | 
| [in] | d2 | size of the third dimension | 
| [in] | d3 | size of the fourth dimension | 
| [in] | seq_dim | dimesion along which the range is created | 
| [in] | ty | type |