, we have
and with
, we have
.
.
.
compute
in
,
then its (unique) preimage
,
,
and
have a linear cost
in the number of terms of their results.
So the dominant cost is the computation of the product
which is clearly in
operations in
Marc Moreno Maza