Exemple #1
0
 inline Polynomial<T, Structure>& Polynomial<T, Structure>::operator-=(const Polynomial<T, Structure>& other)
 {
   pad_zeros(other.deg() + 1);
   subtract(other);
   remove_zeros();
   return *this;
 }
Exemple #2
0
 static cube_p<complex> forward_pad( const ccube_p<real>& in,
                                     const vec3i& pad )
 {
     cube_p<real> pin = pad_zeros(*in, pad);
     return fftw::forward(std::move(pin));
 }
Exemple #3
0
 cube_p<complex> forward_pad( const ccube_p<real>& in )
 {
     cube_p<real> pin = pad_zeros(*in, sz);
     return forward(std::move(pin));
 }