Closed emsr closed 6 years ago
The Horner tricks for fast even/odd eval of real-coefficient polynomials doesn't work unless the polynomial coeffs are real.
I made a local has_imag with void_t.
It may be that a static_assert would be nicer to the user. Oh well.
Done... with SFINAE.
The Horner tricks for fast even/odd eval of real-coefficient polynomials doesn't work unless the polynomial coeffs are real.
I made a local has_imag with void_t.
It may be that a static_assert would be nicer to the user. Oh well.