59 inline static SP::MATH_P1
New() {
69 inline static SP::MATH_P1
New(
const tReal a[]) {
71 p->setCoefficients(a);
MATH_P1(const tUIndex &n)
create a polynom of degre n
Definition: MATH_P1.h:41
This class describes a polynom of degre 0.
Definition: MATH_P0.h:15
static SP::MATH_P1 New(const tReal a[])
builds a Polynom of 1-degree with coefficients
Definition: MATH_P1.h:69
#define tUInteger
Definition: types.h:91
const tReal * getCoefficients() const
get the coefficients
Definition: MATH_Pn.h:117
virtual ~MATH_P1(void)
destroy
Definition: MATH_P1.h:49
virtual tUInteger solve(tReal x[]) const
solve the equation P(x)=0.
Definition: MATH_P0.h:93
MATH_P1(void)
create a polynome of degree 1
Definition: MATH_P1.h:34
static SP::MATH_P1 New()
builds a Polynom of 1-degree
Definition: MATH_P1.h:59
#define tUIndex
Definition: types.h:126
virtual tUInteger solve(tReal x[]) const
solve the equation P(x)=0.
Definition: MATH_P1.h:91
This class describes a polynom of degre 1.
Definition: MATH_P1.h:15
#define tReal
Definition: types.h:118
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141