xc
|
Léxico para expresiones algebraicas. More...
#include <LexAlgebra.h>
Public Member Functions | |
bool | EsExpresion (const std::string &nmb) |
virtual VarExpr * | CalcDirExpr (const std::string &nmb) |
virtual Variable * | CalcDirVar (const std::string &nmb) |
Return a pointer to the variable which name is being passed as parameter. More... | |
NamedOperand * | NuevaVar (const Variable &v) |
NamedOperand * | NuevaVar (const std::string &palabra) |
NamedOperand * | NuevaExpr (const VarExpr &v) |
NamedOperand * | NuevaExpr (const std::string &palabra) |
void | AsignaExpr (const std::string &palabra, const ExprAlgebra &e) |
![]() | |
TablaLiterales & | getTablaLiterales (void) |
Segnal * | CalcDirOpUnario (const std::string &nmb) |
Devuelve un puntero al operador unario cuyo símbolo se pasa como parámetro. More... | |
Segnal * | CalcDirOpBinario (const std::string &nmb) |
Devuelve un puntero al operador binario cuyo símbolo se pasa como parámetro. More... | |
virtual Segnal * | CalcDir (const std::string &nmb) |
Devuelve un puntero al operador cuyo símbolo se pasa como parámetro. More... | |
Segnal * | CalcularDireccion (const std::string &nmb) |
const Operando * | NuevoLiteral (const double &d) |
void | NuevaRefLiteral (const double &d) |
void | NuevaRefLiteral (const Segnal *s) |
void | BorraLiteral (const double &d) |
void | BorraSiLiteral (const Segnal *s) |
NamedOperand * | NuevaVar (const Variable &v) |
NamedOperand * | NuevaVar (const std::string &palabra) |
void | Asigna (const std::string &palabra, const double &d) |
void | DesAsigna (const std::string &palabra) |
void | PrintPrioridades (std::ostream &os) const |
Friends | |
class | ExprAlgebra |
Additional Inherited Members | |
![]() | |
ParentDcho | parentd |
ParentIzdo | parenti |
![]() | |
static OpSuma | suma |
static OpResta | resta |
static OpProd | prodt |
static OpDiv | divn |
static OpDivEnt | dive |
static OpMod | modulus |
static OpPot | pot |
static OpMenor | menor |
static OpLessOrEqual | op_less_or_equal |
static OpEqual | equal |
static OpMayor | mayor |
static OpGreaterOrEqual | op_greater_or_equal |
static OpDistinto | distinto |
static OpAnd | And |
static OpOr | Or |
static OpNot | Not |
static OpMax | max |
static OpMin | min |
static OpMacaulay0 | F0 |
static OpMacaulayN | F1 = OpMacaulayN(1) |
static OpMacaulayN | F2 = OpMacaulayN(2) |
static OpMacaulayN | F3 = OpMacaulayN(3) |
static OpMacaulayN | F4 = OpMacaulayN(4) |
static OpNeg | neg |
static OpInv | inv |
static OpSign | sign |
static OpAbs | abs |
static OpSqr | sqr |
static OpSqrt | raiz2 |
static OpExp | expn |
static OpLn | ln |
static OpLg | lg |
static OpPi | pi |
static OpSin | seno |
static OpCos | cose |
static OpTan | tang |
static OpAtan | arctg |
static OpSec | sec |
static OpCosec | cosec |
static OpCotg | cotg |
static OpDeg2Rad | deg2rad |
static OpRad2Deg | rad2deg |
static OpRound | round |
static OpTrunc | trunc |
static OpToNum | to_num |
![]() | |
TablaLiterales | literales |
TablaVariables | vars |
Léxico para expresiones algebraicas.
|
inlinevirtual |
Return a pointer to the variable which name is being passed as parameter.
Reimplemented from Lexico.