Question: Write a parallel program or psedou-code with a time complexity of O(log n) to compute the polynomial f=a_0 x^0+a_1 x^1+a_2 x^2++ a_(n-1) x^(n-1) to any
Write a parallel program or psedou-code with a time complexity of O(log n) to compute the polynomial
f=a_0 x^0+a_1 x^1+a_2 x^2++ a_(n-1) x^(n-1) to any degree, n, where the as, x, and n are input.
Step by Step Solution
There are 3 Steps involved in it
To compute a polynomial in parallel with a time complexity of Olog n you can use parallel prefix sum... View full answer
Get step-by-step solutions from verified subject matter experts
