Function arrayfire::iota_t
[−]
[src]
pub fn iota_t(dims: Dim4, tdims: Dim4, dtype: DType) -> Array
Create a range of values of given type(DType)
Create an sequence [0, dims.elements() - 1] and modify to specified dimensions dims and then tile it according to tile_dims.
Parameters
dims
is the dimensions of the sequence to be generatedtdims
is the number of repitions of the unit dimensionsdtype
indicates whats the type of the Array to be created
Return Values
Array