[SciPy-Dev] Code review for trapz update

Alan G Isaac alan.isaac at gmail.com
Tue Mar 10 07:59:52 EDT 2015


On 3/10/2015 12:48 AM, K. N. wrote:
> I've proposed a change to trapz, so that bin widths (`x` array deltas) are always considered positive.  This allows monotonically decreasing `x`
> sequences to be used, in addition to monotonically increasing sequences.



Can you elaborate please.  Monontically decreasing sequences can already be used.
Aren't you losing the sign of the area?

Alan Isaac




More information about the SciPy-Dev mailing list