84 void som_phi_pas_prevu
85 (
double*,
const int,
const double,
double*) {
86 cout <<
"Mtbl_cf::val_point: phi basis not implemented yet ! " 92 (
double* ti,
const int np,
const double phi,
double* xo) {
97 for (
int k=2 ; k<np-1 ; k +=2 ) {
99 *xo += ti[k] *
cos(m * phi) ;
100 *xo += ti[k+1] *
sin(m * phi) ;
102 *xo += ti[np] *
cos(np/2 * phi) ;
105 void som_phi_cossin_p
106 (
double* ti,
const int np,
const double phi,
double* xo) {
111 for (
int k=2 ; k<np-1 ; k +=2 ) {
113 *xo += ti[k] *
cos(m * phi) ;
114 *xo += ti[k+1] *
sin(m * phi) ;
116 *xo += ti[np] *
cos(np * phi) ;
119 void som_phi_cossin_i
120 (
double* ti,
const int np,
const double phi,
double* xo) {
122 *xo = ti[0] *
cos(phi) + ti[2] *
sin(phi) ;
125 for (
int k=3 ; k<np ; k +=2 ) {
127 *xo += ti[k] *
cos(m * phi) ;
128 *xo += ti[k+1] *
sin(m * phi) ;
Cmp cos(const Cmp &)
Cosine.
Cmp sin(const Cmp &)
Sine.