Lines Matching refs:cos
29 * rather than invoking the math library sin() or cos() each time.
35 * e^i(wstart+wstep) = 2cos(wstep) * e^i(wstart) - e^i(wstart-wstep)
39 * sin(wstart+wstep) = 2cos(wstep) * sin(wstart) - sin(wstart-wstep)
54 mCurrent = cos(wstart);
55 mPrevious = cos(wstart - wstep);
60 mTwoCos = 2.*cos(wstep);
105 mTwoCos = 2.*cos(innerStep);
430 accum += cos(ix*w)*static_cast<double>(*coef++);
459 * Hpp[n, w, w_0] = sum_{k=0}^{n} x[k] * cos(wk + w_0)
461 * = cos(wn+w_0) * s[n] - cos(w(n+1)+w_0) * s[n-1]
466 double dcos = 2. * cos(L*w);