59 #include "type_parite.h" 68 void _xpundsdx_1d_pas_prevu(
int nr,
double* tb,
double *xo) {
69 cout <<
"xpundsdx pas prevu..." << endl ;
70 cout <<
"Nombre de points : " << nr << endl ;
71 cout <<
"Valeurs : " << tb <<
" " << xo <<endl ;
81 void _xpundsdx_1d_r_jaco02(
int nr,
double* tb,
double *xo) {
84 for (
int j = 0 ; j < nr-1 ; j++ ) {
86 for (
int n = j+1 ; n < nr ; n++ ) {
91 xo[nr-1] = (nr-1)*tb[nr-1] ;
99 void xpundsdx_1d(
int nr,
double** tb,
int base_r)
103 static void (*xpundsdx_1d[
MAX_BASE])(int,
double*,
double *) ;
110 xpundsdx_1d[i] = _xpundsdx_1d_pas_prevu ;
116 double *result =
new double[nr] ;
118 xpundsdx_1d[base_r](nr, *tb, result) ;
#define R_JACO02
base de Jacobi(0,2) ordinaire (finjac)
#define TRA_R
Translation en R, used for a bitwise shift (in hex)
#define MAX_BASE
Nombre max. de bases differentes.