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
dimsis the dimensions of the sequence to be generatedtdimsis the number of repitions of the unit dimensionsdtypeindicates whats the type of the Array to be created
Return Values
Array