1


ranges: These are objects of form a..b or a..b..d where a, b and d are real numbers (a..b equivalent to a..b..1). If d is a number other than 0, the range a..b..d represents the list formed from the elements of the arithmetic progression a, a+d, a+2d, ..., not exceeding b. If d is zero the range represents an empty list. For example, 1..6 represents {1,2,3,4,5,6}, 1..6..2 represents {1,3,5} and 6..1..-3 represents {6,3}.

The function list list applied to a range returns the list which it represents.





mathsformore.com powered by WIRIS

©2003 maths for more sl. All rights reserved. Legal notice