27 static tString mSystemDigitalDot;
55 static inline SP::CORE_Real
New() {
61 static inline SP::CORE_Real
New(
const tReal& i) {
167 static int sgn(
tReal x);
171 #endif // end of ifndef
static tString toString(long double i)
return the string associated to the real
Definition: CORE_Real.h:127
static SP::CORE_Real New(const tReal &i)
create a class Real
Definition: CORE_Real.h:61
static tString toString(double i, int n)
return the string associated to the real
Definition: CORE_Real.h:105
static void shellSort(tReal a[], int N)
sort the array tb a shell sorting method
Definition: CORE_Real.cpp:55
tReal getReal() const
get the real
Definition: CORE_Real.h:82
void setReal(const tString &r)
set the real to r
Definition: CORE_Real.h:73
static tString toString(double i)
return the string associated to the real
Definition: CORE_Real.h:121
static void solveEq3(const tReal &a, const tReal &b, const tReal &c, const tReal &d, vector< tReal > &x)
solve a 3nd order equation ax3+bx2+cx+d=0
Definition: CORE_Real.cpp:137
virtual ~CORE_Real()
delete class
Definition: CORE_Real.cpp:18
static SP::CORE_Real New()
create a class Real
Definition: CORE_Real.h:55
void setReal(const tReal &r)
set the real to r
Definition: CORE_Real.h:70
abstract base class for most classes.
Definition: CORE_Object.h:30
#define tString
Definition: types.h:36
tString toString() const
return the string associated to the real
Definition: CORE_Real.h:89
static long double parseReal(const tString &str)
return the real associated to the string
Definition: CORE_Real.cpp:78
static void solveEq2(const tReal &a, const tReal &b, const tReal &c, vector< tReal > &x)
solve a 2nd order equation ax2+bx+c=0
Definition: CORE_Real.cpp:202
static tString toString(float i)
return the string associated to the real
Definition: CORE_Real.h:115
CORE_Real()
create a real
Definition: CORE_Real.cpp:12
#define tReal
Definition: types.h:18
this class describes a real Attributes:
Definition: CORE_Real.h:22
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106