|
|
|
|
|
by rerdavies
1231 days ago
|
|
The most efficient implementation of Lagrange Interpolators is O(N). Calculate the left Product(0..i-1) of each term in left-to-right order, and the Product(i+1..N-1) of each term in right-to-left order. Your mileage may vary on a GPU. |
|