diff options
author | Pixel <Pixel> | 2001-04-28 21:40:25 +0000 |
---|---|---|
committer | Pixel <Pixel> | 2001-04-28 21:40:25 +0000 |
commit | 3b37a00a4be251f87e543d269489cb7a989425d5 (patch) | |
tree | 51aedcb4d1627743d6e240266c58a67cf6ae0d67 /polynom.h | |
parent | ab778d7f896b16f3e6f2b068c2b34d219723002b (diff) |
Hop, gros bordel, plein de fichiers ajoutes et supprimes :)
Diffstat (limited to 'polynom.h')
-rw-r--r-- | polynom.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/polynom.h b/polynom.h deleted file mode 100644 index 64a9273..0000000 --- a/polynom.h +++ /dev/null @@ -1,37 +0,0 @@ -#ifndef __POLYNOM_H__ -#define __POLYNOM_H__ -#include "scalaires.h" - -typedef struct monome { - rationnel coef; - unsigned int degre; - struct monome *suiv; -} monome; - -typedef monome *polynome; - -polynome ply_constr(rationnel coef, int degre); /* constructeur monome */ - -polynome ply_vide(void); /* cree un polynome */ - -void ply_destruct(polynome poly); /* destructeur */ - -polynome ply_copy(polynome poly); /* recopie */ - -polynome ply_addition(polynome poly1, polynome poly2); /* addition de deux polynomes */ - -polynome ply_soustraction(polynome poly1, polynome poly2); /* soustraction de deux polynomes */ - -polynome ply_multiplication(polynome poly1, polynome poly2); /* multiplication de deux polynomes */ - -polynome ply_division(polynome poly1, polynome poly2); /* division de deux polynomes */ - -polynome ply_modulo(polynome poly1, polynome poly2); /* reste de la division de deux polynomes */ - -polynome ply_exposant(polynome poly, unsigned int exp); /* exponentiation d'un polynome */ - -double ply_valuation(polynome poly, double point); /* valuation d'un polynome en un point */ - -char *ply_affichage(polynome poly); /* routine d'affichage d'un polynome */ - -#endif |