Previous Up Next

6.38.4  The midpoint of an interval: midpoint

The midpoint operator finds the midpoint of an interval.


Example.
Input:

midpoint(i[2,3])

Output:

2.50000000000000

Previous Up Next