Mercurial > octave-antonio
view .gitignore @ 20156:bd565f3e0ecb
psi: refactor to reduce code duplication.
* liboctave/numeric/lo-specfun.cc (psi): reduce code duplication by creating
Lanczos_approximation_psi() to be shared between the functions for complex
and real input. Also invert the order of the for loops (to sum smaller
numbers first, which will increase accuracy.
* libinterp/corefcn/psi.cc: adjust tolerance for the tests.
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Sun, 03 May 2015 02:59:28 +0100 |
parents | 5758e0013246 |
children |