libmoldeo (Moldeo 1.0 Core)
1.0
libmoldeo is the group of objects and functions that executes the basic operations of Moldeo 1.0 Platform.
|
#include <moMathFunction.h>
Public Member Functions | |
moParserFunction () | |
virtual MOboolean | Init (const moText &p_Expression, moMoldeoObject *p_pMOB=NULL) |
MOboolean | Finish () |
Public Member Functions inherited from moMathFunction | |
moMathFunction () | |
virtual | ~moMathFunction () |
virtual void | SetExpression (const moText &p_Expression) |
virtual moText & | GetExpression () |
virtual void | SetParameters (double s,...) |
virtual double | Eval () |
double | LastEval () |
virtual double | Eval (double x,...) |
virtual double | DEval (int n,...) |
MOuint | GetParameterCount () |
moText & | GetParameterName (int i) |
double | GetParameterValue (int i) |
MOuint | GetVariableCount () |
moText & | GetVariableName (int i) |
double | GetVariableValue (int i) |
double | operator() (double x,...) |
Public Member Functions inherited from moAbstract | |
moAbstract () | |
virtual | ~moAbstract () |
virtual MOboolean | Init () |
Inicializa el objeto. More... | |
MOboolean | Initialized () |
Pregunta si est� inicializado. More... | |
Protected Member Functions | |
void | AddMathFunctions () |
void | AddMathConstants () |
MOboolean | CheckVariables () |
void | OnParamUpdate () |
double | OnFuncEval () |
double | OnDerivEval (int n) |
void | BuildParamList () |
void | BuildVarList () |
Protected Attributes | |
double | x |
moParser * | m_pParser |
Protected Attributes inherited from moMathFunction | |
moText | m_EmptyName |
moText | m_Expression |
moMathVariableArray | m_Parameters |
moMathVariableArray | m_Variables |
double | m_LastEval |
moConfig * | m_pConfig |
moMoldeoObject * | m_pMOB |
Additional Inherited Members | |
Public Attributes inherited from moAbstract | |
MOboolean | m_bInitialized |
Valor de inicializaci�n More... | |
Static Public Attributes inherited from moAbstract | |
static moDebug * | MODebug2 = new moDebug() |
Clase de impresi�n de errores para depuraci�n More... | |
static moTextHeap * | MODebug = new moTextHeap() |
Lista de textos. More... | |
Clase que encapsula un muParser.
Definition at line 669 of file moMathFunction.h.
moParserFunction::moParserFunction | ( | ) |
Definition at line 571 of file moMathFunction.cpp.
|
protected |
Definition at line 706 of file moMathFunction.cpp.
|
protected |
Definition at line 668 of file moMathFunction.cpp.
|
inlineprotectedvirtual |
Funci�n abstracta pura que es llamada desde la funci�n 'Init'. Debe implemtar la construcci�n de la lista de par�metros.
Implements moMathFunction.
Definition at line 702 of file moMathFunction.h.
|
inlineprotectedvirtual |
Funci�n abstracta pura que es llamada desde la funci�n 'Init'. Debe implemtar la construcci�n de la lista de variables.
Implements moMathFunction.
Definition at line 703 of file moMathFunction.h.
|
protected |
Definition at line 727 of file moMathFunction.cpp.
|
virtual |
Funci�n de finalizaci�n.
Reimplemented from moMathFunction.
Definition at line 658 of file moMathFunction.cpp.
|
virtual |
Funci�n de inicializacion en donde se asigna la expresi�n que caracteriza la funci�n y se construyen las listas de par�metros y variables.
p_Expression | la expresi�n matem�tica. |
ASSOCIATE VARIABLES WITH PARAMETERS....
check for variable in config parameters
assign pointer to variable!!!!
check for variable in object inlets
Reimplemented from moMathFunction.
Definition at line 579 of file moMathFunction.cpp.
|
inlineprotectedvirtual |
Funci�n abstracta pura que es llamada desde la funci�n 'DEval'. Debe implementar el c�lculo de la derivada n-�sima de la funci�n dados los valores actuales de las variables.
Implements moMathFunction.
Definition at line 700 of file moMathFunction.h.
|
protectedvirtual |
Funci�n abstracta pura que es llamada desde la funci�n 'Eval'. Debe implementar el c�lculo de la funci�n dados los valores actuales de las variables.
Implements moMathFunction.
Definition at line 772 of file moMathFunction.cpp.
|
inlineprotectedvirtual |
Funci�n abstracta pura que es llamada desde la funci�n 'SetParameters'. Debe implementar los c�lculos que actualizan la funci�n dado un nuevo conjunto de par�metros.
Implements moMathFunction.
Definition at line 698 of file moMathFunction.h.
|
protected |
Definition at line 692 of file moMathFunction.h.
|
protected |
Definition at line 690 of file moMathFunction.h.