Description
This may sound surprising, but I'm looking for clarification about what OnCell and OnGrid actually mean. Let's take the case of Constant
: my interpretation is that OnCell
should mean that the array value is constant over i-0.5
to i+0.5
but has a step discontinuity at the edges of this region. Conversely, I would expect OnGrid
to be constant over i
to i+(1-eps())
. In other words, something like this:
But that's not what we have, and indeed OnGrid
and OnCell
seem to behave identically:
Likewise for Quadratic:
By the definition I am picturing, I'm not even sure there is an obvious meaning to Linear
, OnCell
that is also continuous. (The closest I can come up with is that the slope at i
is (y[i+1]-y[i-1])/2
, but that has discontinuities at the half-integers.)
So despite having worked with the package a lot (though not for quite a while, truth be told), I am confused.
Activity