
9 Aug
2007
9 Aug
'07
4:09 a.m.
On 8 Aug 2007, at 16:07, Steven Watanabe wrote:
They are still needed for the result of adjacent_difference on piecewise constant floating point series. What do you think of allowing runs to specify what kind of range they use, open, closed or half-open.
struct half_open_range : mpl::int_<0> {}; struct rhalf_open_range : mpl::int_<1> {}; // (] struct open_range : mpl::int_<2> {}; struct closed_range : mpl::int_<3> {};
I think that this would allow sparse floating point series to make sense without destroying consistency within the library.
Why do you need intervals for sparse series? Sparse series define values only at a finite number of points, and not in intervals? Do you mean piecewise constant series?