102 void _sxpun_pas_prevu(Tbl * tb,
int& base) {
103 cout <<
"sxpun pas prevu..." << endl ;
104 cout <<
"Tbl: " << tb <<
" base: " << base << endl ;
113 void _sxpun_identite(Tbl* ,
int& ) {
121 void _sxpun_r_jaco02(Tbl* tb,
int&)
124 if (tb->get_etat() == ETATZERO) {
130 int nr = (tb->dim).dim[0] ;
131 int nt = (tb->dim).dim[1] ;
132 int np = (tb->dim).dim[2] ;
136 double* xo =
new double [tb->get_taille()];
139 for (
int i=0; i<tb->get_taille(); i++) {
148 int borne_phi = np + 1 ;
153 for (
int k=0 ; k< borne_phi ; k++)
159 for (
int j=0 ; j<nt ; j++) {
163 for (
int i = 0 ; i < nr-1 ; i++) {
165 for (
int m = i+1 ; m < nr ; m++) {
166 int signe = ((m-1-i)%2 == 0 ? 1 : -1) ;
167 somme += signe*((m+1)*(m+2)/double((i+1)*(i+2))-(i+1)*(i+2)/double((m+1)*(m+2)))*xci[m] ;
169 xco[i] = (2*i+3)/
double(4)*somme ;