85 void mult_xm1_1d_cheb(
int nr,
const double* cf,
double* cresu) {
95 cresu[0] = ai*cf[0] + aip1*cf[1] ;
99 cresu[1] = cf[0] + ai*cf[1] + aip1*cf[2] ;
105 for (i=2; i<nr-1; i++) {
106 cresu[i] = aim1*cf[i-1] + ai*cf[i] + aip1*cf[i+1] ;
111 cresu[nr-1] = aim1*cf[nr-2] + ai*cf[nr-1] ;