Lines Matching defs:sh
188 /** multiply a by x^sh in place (Exact)
190 \param sh power
194 SBasis shift(SBasis const &a, int sh) {
195 size_t n = a.size()+sh;
197 size_t m = std::max(0, sh);
199 for(int i = 0; i < sh; i++)
201 for(size_t i = m, j = std::max(0,-sh); i < n; i++, j++)
206 /** multiply a by x^sh (Exact)
208 \param sh power
209 \returns a* x^sh
212 SBasis shift(Linear const &a, int sh) {
213 size_t n = 1+sh;
216 for(int i = 0; i < sh; i++)
218 if(sh >= 0)
219 c[sh] = a;