65 Cmp division_xpun (
const Cmp& source,
int num_front) {
67 assert (source.get_etat() != ETATNONDEF) ;
68 Cmp resultat (source) ;
70 if (resultat.get_etat() == ETATZERO)
74 resultat.va.set_etat_cf_qcq() ;
75 int base_r = source.va.base.b[num_front+1] &
MSQ_R ;
77 int nr = source.get_mp()->get_mg()->get_nr(num_front+1) ;
78 double* coef =
new double[nr] ;
80 for (
int k=0 ; k<source.get_mp()->get_mg()->get_np(num_front+1)+1 ; k++)
82 for (
int j=0 ; j<source.get_mp()->get_mg()->get_nt(num_front) ; j++) {
83 for (
int i=0 ; i<nr ; i++)
84 coef[i] = (*resultat.va.c_cf)(num_front+1, k, j, i) ;
85 sxpun_1d (nr, &coef, base_r) ;
86 for (
int i=0 ; i<nr ; i++)
87 resultat.va.c_cf->set(num_front+1, k, j, i) = coef[i] ;
#define MSQ_R
Extraction de l'info sur R.