Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make methods to return the even or odd polynomials. #13

Open
emsr opened this issue Feb 26, 2019 · 1 comment
Open

Make methods to return the even or odd polynomials. #13

emsr opened this issue Feb 26, 2019 · 1 comment

Comments

@emsr
Copy link
Owner

emsr commented Feb 26, 2019

  /**
   * Return the even polynomial.
   */
  _Polynomial
  even() const;

  /**
   * Return the odd polynomial.
   */
  _Polynomial
  odd() const;

Underneath you should have:
_Polynomial
thing(int stride, int offset) const;

Conversely, an
eval(int stride, int offset, x)
would be a smart underpinning for eval_even/eval_odd.

@emsr
Copy link
Owner Author

emsr commented Jul 5, 2021

Some kind of iterator would be better than a thing to emit polynomials.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant