Function arrayfire::range_t
[−]
[src]
pub fn range_t(dims: Dim4, seq_dim: i32, dtype: DType) -> Array
Create a range of values of given type(DType)
Creates an array with [0, n] values along the seq_dim which is tiled across other dimensions.
Parameters
dimsis the size of Arrayseq_dimis the dimension along which range values are populated, all values along other dimensions are just repeateddtypeindicates whats the type of the Array to be created
Return Values
Array