constTcoef&get_coef(intl,intm)const{assert((l>=0&&l<=resolution)||!" maybe you forgot to call set_level()");assert(m>=(-l)&&m<=l);returnget_coef(index(l,m));}
staticvoidinit_K_tab();// compute the normalization constants K_l^m and store them into K_tab
staticvoidcompute_P_tab(Tscalart);// Compute Legendre Polynomials at parameter t and store them in F_tab (only for m>=0)
staticvoidcompute_y_tab(Tscalarphi);// Compute the real basis functions y_l^m at (theta, phi) and store them in F_tab (compute_P_tab must have been called before)
staticvoidcompute_P_tab(Tscalart,unsignedintthreadId);// Compute Legendre Polynomials at parameter t and store them in F_tab (only for m>=0)
staticvoidcompute_y_tab(Tscalarphi,unsignedintthreadId);// Compute the real basis functions y_l^m at (theta, phi) and store them in F_tab (compute_P_tab must have been called before)
constTcoef&get_coef(inti)const{assert((i>=0&&i<nb_coefs)||!" maybe you forgot to call set_level()");returncoefs[i];}
Tcoef&get_coef(inti){assert((i>=0&&i<nb_coefs)||!" maybe you forgot to call set_level()");returncoefs[i];}