MCPcopy Create free account
hub / github.com/numpy/numpy / _chbevl

Function _chbevl

numpy/lib/function_base.py:3406–3415  ·  view source on GitHub ↗
(x, vals)

Source from the content-addressed store, hash-verified

3404
3405
3406def _chbevl(x, vals):
3407 b0 = vals[0]
3408 b1 = 0.0
3409
3410 for i in range(1, len(vals)):
3411 b2 = b1
3412 b1 = b0
3413 b0 = x*b1 - b2 + vals[i]
3414
3415 return 0.5*(b0 - b2)
3416
3417
3418def _i0_1(x):

Callers 2

_i0_1Function · 0.85
_i0_2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected