Thanks to all for the advice---for now, either Wolfgang's code or my code are fast enough for the application I was working on. I'd guess that it would be straightforward to incorporate such a change into partfrac... Barton