From: Jerome Lecomte (jlecomte_at_[hidden])
Date: 2001-03-24 16:51:49
--- In boost_at_y..., hankel_o_fung_at_y... wrote:
> --- In boost_at_y..., "David Abrahams" <abrahams_at_m...> wrote:
> > > IMHO, it is natural to use both index styles in a single
> > (!) How does /that/ situation come up?
> A typical scenario is that you want to index n+1 increasing time
> points as well as the n time intervals (or their lengths) bracketed
> by these points. In some problem domains (e.g., financial option
> pricing), it is natural to use 1-based indices for time periods
> and 0-based indices for the time points.
So arrays are 0-based or 1-based on a per object basis depending on
what they represent ... As far as I am concerned this not natural.
And I work in the same application domain.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk