@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, 2003 Eggs & Pictures. MIT/Open BSD copyright model.
|
Public Methods |
| RPolynome (int nmax=6) |
| RPolynome (double a0, int nmax=1) |
| RPolynome (double a0, double a1, int nmax=2) |
| RPolynome (double a0, double a1, double a2, int nmax=3) |
| RPolynome (double *ax, int n, int nmax=6) |
| RPolynome (const RPolynome &x) |
RPolynome & | operator= (const RPolynome &x) |
| ~RPolynome () |
int | getOrder () |
int | numberOfCoeff () const |
int | maxCoeff () const |
double | getA (int i) const |
void | setA (int i, double ax) |
void | addA (double ax) |
void | clear () |
void | setP0 (double a0) |
void | setP1 (double a0, double a1) |
void | setP2 (double a0, double a1, double a2) |
void | setX_A (double x_a) |
void | multiplyX_A (double x_a) |
double | getValue (double x) |
void | operator+= (double value) |
void | operator-= (double value) |
void | operator *= (double value) |
void | operator/= (double value) |
void | operator+= (const RPolynome &p) |
void | operator-= (const RPolynome &p) |
void | operator *= (const RPolynome &p) |
void | output () |
void | output (FILE *file) |
Public Attributes |
int | n |
int | nmax |
double * | a |
Friends |
RPolynome | operator+ (const RPolynome &v, double a) |
RPolynome | operator+ (double a, const RPolynome &v) |
RPolynome | operator- (const RPolynome &v, double a) |
RPolynome | operator- (double a, const RPolynome &v) |
RPolynome | operator * (const RPolynome &v, double a) |
RPolynome | operator * (double a, const RPolynome &v) |
RPolynome | operator/ (const RPolynome &v, double a) |
RPolynome | operator+ (const RPolynome &v1, const RPolynome &v2) |
RPolynome | operator- (const RPolynome &v1, const RPolynome &v2) |
RPolynome | operator * (const RPolynome &v1, const RPolynome &v2) |