Corrigé du TD n°3 - LAMSADE

Exercice 2. Complexité du schéma de Horner. 1. public class Exemple {. 2. public
static int horner(int[] t, int n, int x){. 3. int s = t[n];. 4. for(int i = n-1;i >= 0;--i). 5. s = s *
x + t[i];. 6. return s;. 7. } Temps d'exécution détaillé ...

Part of the document