You may have heard that PURR may be down temporarily this Thursday (10/17) for maintenance. The maintenance is being rescheduled, and we do not expect to have any downtime this week. We will let you know when the maintenance has been rescheduled. close

NEUTRAL: Neutralizing nearby singularities in numerical quadrature

Listed in Datasets

By Walter Gautschi

Purdue University

Matlab routines for neutralizing nearby singularities in numerical quadrature

Version 1.0 - published on 23 Apr 2014 doi:10.4231/R75H7D6P - cite this Archived on 25 Oct 2016

Licensed under CC0 1.0 Universal


A method of “neutralization” is presented that significantly weakens, if not eliminates, a singularity close to, but outside, the interval of integration.

Cite this work

Researchers should cite this work as follows:



Matlab files:

  • test_precision_mod14.m
  • sr_jacobi01.m
  • sr_jacobi.m
  • rho0mu.m
  • schri4.m
  • mod_d.m
  • neutral_Ex1.m
  • rho01_mu.m
  • parfrac.m
  • gauss.m
  • neutral_Ex2.m
  • neutral_Ex3.m
  • test_precision_mod3.m
  • neutral_Ex4.m
  • test_precision_mod5.m
  • sr_laguerre.m
  • neutral_Ex5.m
  • neutral_Ex6.m
  • test_precision_mod6.m
  • struve.m

These codes serve as a companion piece to the paper "Neutralizing nearby singularities in numerical quadrature", Numerical Algorithms, 2013, Volume 64, Issue 3, pp 417-425. doi: 10.1007/s11075-012-9672-9.

The Purdue University Research Repository (PURR) is a university core research facility provided by the Purdue University Libraries, the Office of the Executive Vice President for Research and Partnerships, and Information Technology at Purdue (ITaP).