59 void mult_xp1_1d_cheb(
int nr,
const double* cf,
double* cresu) {
69 cresu[0] = ai*cf[0] + aip1*cf[1] ;
73 cresu[1] = cf[0] + ai*cf[1] + aip1*cf[2] ;
79 for (i=2; i<nr-1; i++) {
80 cresu[i] = aim1*cf[i-1] + ai*cf[i] + aip1*cf[i+1] ;
85 cresu[nr-1] = aim1*cf[nr-2] + ai*cf[nr-1] ;