Re: integrate.simpson behaviour for even number of samples

Andrew Nelson <[email protected]>
Newsgroups gmane.comp.python.scientific.devel
Message-ID <CAAbtOZcDkPC7QbUvBvR7TUCRaZ+-F+SA3u9mD2Zh_Gjs0x+X3Q@mail.gmail.com>
As a followup the following gist shows the benefit of the improved
calculation.

https://gist.github.com/andyfaff/c78ffb2bb79b9a7d9d7e55a43c3be624

It's still better than `even='avg'`, and it will be twice as fast because
`_basic_simpson` won't have to be called twice.

_______________________________________________
SciPy-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/scipy-dev.python.org/
Member address: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.