iSeqIA

HC Arithmetic Number Generators iSeqIA
iSeq iSeqIntArray

iSeqIA from to nr
iSeqIntArray from to nr


outputs an IntArray of nr integers from FROM to to, inclusive. It internally works like rSeqFA, but rounds the resulting numbers to the next integer value, before writing it into the output IntArray. This function can be convenient, when you need to create an IntArray in a fast way, without i.e. a temporary FloatArray generated with rSeqFA, or even slower, a list with rSeq.

Examples:

iSeqIA 3 7 2	;{3 7}  ;-) 
iSeqIA 3 7 3	;{3 5 7}  ;-) 
iSeqIA 3 7 4	;{3 4 5 6}  ;-) 
iSeqIA 3 7 5	;{3 4 5 6 7}  ;-) 
iSeqIA 7 3 5	;{7 6 5 4 3}  ;-) 

Examples:

References:

iSeq iSeqIntArray