def get_paper_thetas_alphas(degree):
from sympy import Float, I
thetas = [-Float(r) + Float(i)*I for r, i in
zip(part_frac_coeffs[degree]['thetas']['real'],
part_frac_coeffs[degree]['thetas']['imaginary'])]
thetas = thetas + [i.conjugate() for i in thetas]
alphas = [-Float(r) + Float(i)*I for r, i in
zip(part_frac_coeffs[degree]['alphas']['real'],
part_frac_coeffs[degree]['alphas']['imaginary'])]
alphas = alphas + [i.conjugate() for i in alphas]
[alpha0] = [Float(r) + Float(i)*I for r, i in
zip(part_frac_coeffs[degree]['alpha0']['real'],
part_frac_coeffs[degree]['alpha0']['imaginary'])]
return thetas, alphas, alpha0
评论列表
文章目录