MCPcopy Create free account
hub / github.com/NGSolve/ngsolve / p1evl

Function p1evl

ngstd/bessel.hpp:490–505  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488 */
489
490double p1evl(double x, double coef[],int N)
491{
492double ans;
493double *p;
494int i;
495
496p = coef;
497ans = x + *p++;
498i = N-1;
499
500do
501 ans = ans * x + *p++;
502while( --i );
503
504return( ans );
505}
506
507double TWOOPI = 6.36619772367581343075535E-1; /* 2/pi */
508double THPIO4 = 2.35619449019234492885; /* 3*pi/4 */

Callers 4

bessj0Function · 0.85
bessy0Function · 0.85
bessj1Function · 0.85
bessy1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected