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

Function a_i

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

Source from the content-addressed store, hash-verified

1405 eps = np.sqrt(10**(ripple/10)-1)
1406 h = np.tanh((1/n)*np.arcsinh(1/eps))
1407 def a_i(i, n, h): return np.sqrt(
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:

Callers 1

chebyshev1PolyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected