MCPcopy Index your code
hub / github.com/SLiCAP/SLiCAP_python / b_i

Function b_i

SLiCAP/SLiCAPmath.py:1410–1410  ·  view source on GitHub ↗
(i, n, h)

Source from the content-addressed store, hash-verified

1408 1/(1-h**2) - (np.sin((2*i-1)/n*np.pi/2))**2)
1409
1410 def b_i(i, n, h): return np.sqrt(1 + 1/(h*np.tan((2*i-1)/n*np.pi/2))**2)/2
1411 if n % 2:
1412 P_s = s*np.sqrt(1-h**2)/h + 1
1413 order = int((n-1)/2)

Callers 1

chebyshev1PolyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected