1 #ifndef MATH_TranscendentEquation_H
2 #define MATH_TranscendentEquation_H
93 static SP::MATH_TranscendentEquation
New() {
187 tReal solve_steffensen(
tReal& error,
int& iter);
void setInitValue(const tReal &v)
set init value
Definition: MATH_TranscendentEquation.h:134
virtual tReal solve(const tReal &x0)
solve the equation with initial point
Definition: MATH_TranscendentEquation.h:171
static const tFlag DELTA2_3
method flag for solving F(U_n)=U_n+1
Definition: MATH_TranscendentEquation.h:53
virtual tString toString() const
to string
Definition: MATH_TranscendentEquation.cpp:47
This class describes the main interface class for a soft user interface (R,matlab,python etc...) class.
Definition: UI_Class.h:38
virtual void saveToUIClass(UI_Class &mclass) const
how to save the object from a mate model class
Definition: MATH_TranscendentEquation.cpp:33
virtual ~MATH_TranscendentEquation(void)
destroy an TranscendentEquation Object.
Definition: MATH_TranscendentEquation.cpp:20
static const tFlag STEFFENSEN
method flag for solving F(U_n)=U_n+1
Definition: MATH_TranscendentEquation.h:56
tFlag getMode() const
get mode
Definition: MATH_TranscendentEquation.h:161
This class solve the equation f(x)=0.
Definition: MATH_Equation.h:21
virtual void loadFromUIClass(const UI_Class &mclass)
how to load the object from a Meta Model class
Definition: MATH_TranscendentEquation.cpp:39
static SP::MATH_TranscendentEquation New()
create a copy of MATH_TranscendentEquation
Definition: MATH_TranscendentEquation.h:93
tReal getInitValue() const
get the solution
Definition: MATH_TranscendentEquation.h:154
virtual void copy(const MATH_Equation *m)
copy the parameters of the optimization method
Definition: MATH_TranscendentEquation.cpp:23
static const tFlag DELTA2
method flag for solving F(U_n)=U_n+1
Definition: MATH_TranscendentEquation.h:47
DEFINE_SPTR(MATH_TranscendentEquation)
static const tFlag DEFAULT
method flag for solving F(U_n)=U_n+1
Definition: MATH_TranscendentEquation.h:44
virtual tReal solve()
solve
Definition: MATH_TranscendentEquation.cpp:51
void setMode(const tFlag &v)
set mode
Definition: MATH_TranscendentEquation.h:128
#define tString
Definition: types.h:49
DEFINE_SVPTR(MATH_TranscendentEquation)
void setIout(const int &i)
set output print
Definition: MATH_TranscendentEquation.h:141
This class solve a transcendent equation f(x)=x.
Definition: MATH_TranscendentEquation.h:36
MATH_TranscendentEquation(void)
create a TranscendentEquation object
Definition: MATH_TranscendentEquation.cpp:11
#define tReal
Definition: types.h:18
static const tFlag DELTA2_2
method flag for solving F(U_n)=U_n+1
Definition: MATH_TranscendentEquation.h:50
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106
#define tFlag
Definition: types.h:14