A namespace for arithmetic expressions. More...
Classes | |
class | barrel |
A barrel to hold a list of variables. More... | |
class | bediener |
An operator. Bediener is German for operator. More... | |
class | literal |
A string literal. More... | |
class | number |
A number. More... | |
class | stdFunction1 |
One-argument standard functions. More... | |
class | stdFunction2 |
Two-argument standard functions. More... | |
class | term |
The abstract base class for arithmetic terms. More... | |
class | variable |
A variable. More... | |
Enumerations | |
enum | OPERADOR { UNKNOWN = 0, BITOR, BITAND, PLUS, MINUS, MULTIPLY, DIVIDE, REMAINDER, NEGATE, POWER } |
All supported arithmetic operators. More... | |
enum | STDFUN1 { ACOS = 0, ASIN, ATAN, CEIL, COS, COSH, EXP, FABS, FLOOR, FREXP, LOG10, LOG, MODF, ROUND, SIN, SINH, SQRT, TAN, TANH, IS_ZERO, IS_NONZERO } |
Standard 1-argument and 2-argument functions. | |
enum | STDFUN2 { ATAN2 = 0, FMOD, LDEXP, ROUND2, POW, IS_EQL, IS_GTE, IS_LTE } |
enum | TERM_TYPE { UNDEF_TERM, VARIABLE, NUMBER, STRING, OPERATOR, STDFUNCTION1, STDFUNCTION2, CUSTOMFUNCTION1, CUSTOMFUNCTION2 } |
Types of terms allowed in the mathematical expressions. | |
Variables | |
const char * | operator_name [] |
String form of the operators. | |
bool | preserveInputExpressions = false |
Whether to keep arithmetic expression as user inputed them. | |
const char * | stdfun1_name [] |
String form of the one-argument standard functions. | |
const char * | stdfun2_name [] |
String form of the two-argument standard functions. |
A namespace for arithmetic expressions.
enum ibis::math::OPERADOR |
All supported arithmetic operators.
The word operador is Spainish for operator.
const char * ibis::math::operator_name |
{"?", "|", "&", "+", "-", "*", "/", "%", "-", "**"}
String form of the operators.
Referenced by ibis::math::bediener::print().
bool ibis::math::preserveInputExpressions = false |
Whether to keep arithmetic expression as user inputed them.
Referenced by ibis::qExpr::simplify(), ibis::selectClause::verify(), and ibis::selectClause::verifySome().
const char * ibis::math::stdfun1_name |
{"acos", "asin", "atan", "ceil", "cos", "cosh", "exp", "fabs", "floor", "frexp", "log10", "log", "modf", "round", "sin", "sinh", "sqrt", "tan", "tanh", "is_zero", "is_nonzero"}
String form of the one-argument standard functions.
Referenced by ibis::math::stdFunction1::print().
const char * ibis::math::stdfun2_name |
{"atan2", "fmod", "ldexp", "round", "pow", "is_eql", "is_gte", "is_lte"}
String form of the two-argument standard functions.
Referenced by ibis::math::stdFunction2::print().
![]() |