On Wed, Apr 19, 2023 at 11:57:01PM -0700, Kelvin Yang wrote:
> > I could make such a function available if that would help you.
>
> That would be helpful if you could make the function.
I've added an isl_qpolynomial_as_aff.
You can iterate over the pieces of an isl_pw_qpolynomial
using isl_pw_qpolynomial_foreach_piece and then
construct an isl_pw_aff from the converted pieces.
(I'm reluctant to add an isl_pw_qpolynomial_as_pw_aff
directly because an isl_pw_qpolynomial has a default value
zero while an isl_pw_aff does not.)
skimo