Home
last modified time | relevance | path

Searched refs:representsEven (Results 1 – 17 of 17) sorted by relevance

/dports/math/libqalculate/libqalculate-3.17.0/libqalculate/
H A DBuiltinFunctions-combinatorics.cc54 bool FactorialFunction::representsEven(const MathStructure&, bool) const {return false;} in representsEven() function in FactorialFunction
78 bool DoubleFactorialFunction::representsEven(const MathStructure&, bool) const {return false;} in representsEven() function in DoubleFactorialFunction
100 bool MultiFactorialFunction::representsEven(const MathStructure&, bool) const {return false;} in representsEven() function in MultiFactorialFunction
H A DBuiltinFunctions-number.cc85 } else if(vargs[0].representsEven()) { in calculate()
95 } else if(mstruct.representsEven()) { in calculate()
108 if(vargs[0].representsEven()) { in calculate()
118 if(mstruct.representsEven()) { in calculate()
143 …ool AbsFunction::representsEven(const MathStructure &vargs, bool allow_units) const {return vargs.… in representsEven() function in AbsFunction
257 bool SignumFunction::representsEven(const MathStructure&, bool) const {return false;} in representsEven() function in SignumFunction
361 bool CeilFunction::representsEven(const MathStructure &vargs, bool) const {return vargs.size() == 1… in representsEven() function in CeilFunction
411 bool FloorFunction::representsEven(const MathStructure &vargs, bool) const {return vargs.size() == … in representsEven() function in FloorFunction
461 bool TruncFunction::representsEven(const MathStructure &vargs, bool) const {return vargs.size() == … in representsEven() function in TruncFunction
526 bool RoundFunction::representsEven(const MathStructure &vargs, bool) const {return vargs.size() == … in representsEven() function in RoundFunction
[all …]
H A DVariable.h160 virtual bool representsEven(bool = false) {return false;}
339 virtual bool representsEven(bool = false);
392 virtual bool representsEven(bool = false) {return false;}
H A DBuiltinFunctions-special.cc266 bool ErfFunction::representsEven(const MathStructure&, bool) const {return false;} in representsEven() function in ErfFunction
298 bool ErfiFunction::representsEven(const MathStructure&, bool) const {return false;} in representsEven() function in ErfiFunction
329 bool ErfcFunction::representsEven(const MathStructure&, bool) const {return false;} in representsEven() function in ErfcFunction
443 bool HeavisideFunction::representsEven(const MathStructure&, bool) const {return false;} in representsEven() function in HeavisideFunction
502 bool DiracFunction::representsEven(const MathStructure&, bool) const {return false;} in representsEven() function in DiracFunction
H A DBuiltinFunctions-explog.cc171 bool SqrtFunction::representsEven(const MathStructure&, bool) const {return false;} in representsEven() function in SqrtFunction
434 …sPositive() && (vargs[0].representsComplex(allow_units) || (vargs[1].representsEven() && vargs[0].… in representsComplex()
436 bool RootFunction::representsEven(const MathStructure&, bool) const {return false;} in representsEven() function in RootFunction
478 bool LogFunction::representsEven(const MathStructure&, bool) const {return false;} in representsEven() function in LogFunction
H A DBuiltinFunctions-calculus.cc81 bool FresnelSFunction::representsEven(const MathStructure&, bool) const {return false;} in representsEven() function in FresnelSFunction
114 bool FresnelCFunction::representsEven(const MathStructure&, bool) const {return false;} in representsEven() function in FresnelCFunction
H A DVariable.cc520 bool KnownVariable::representsEven(bool allow_units) {return get().representsEven(allow_units);} in representsEven() function in KnownVariable
H A DMathStructure.cc868 …ero(allow_units) && CHILD(0).representsReal(allow_units) && CHILD(1).representsEven(false) && CHIL… in representsPositive()
936 …|| (CHILD(0).representsReal(allow_units) && CHILD(1).representsEven(false) && CHILD(1).representsI… in representsNonNegative()
999 …llow_units) || (CHILD(0).representsNegative(allow_units) && CHILD(1).representsEven(false) && CHIL… in representsRational()
1195 bool MathStructure::representsEven(bool allow_units) const { in representsEven() function in MathStructure
1198 case STRUCT_VARIABLE: {return o_variable->representsEven(allow_units);} in representsEven()
1199 …ON: {return (function_value && function_value->representsEven(allow_units)) || o_function->represe… in representsEven()
H A DFunction.h202 virtual bool representsEven(const MathStructure&, bool = false) const;
H A DBuiltinFunctions.h77 bool representsEven(const MathStructure &vargs, bool allow_units = false) const;\
H A DMathStructure-limit.cc883 …[0].isFunction() && mbak[0].function()->id() == FUNCTION_ID_ABS) || mstruct[1].representsEven())) { in calculate_limit_sub()
894 if(mfac.isPower() && mfac[1].representsEven()) { in calculate_limit_sub()
H A DMathStructure-calculate.cc2003 …CHILD(0)[0].isMinusOne() && CHILD(0)[1] == mstruct[0] && (mstruct[1].representsEven() || mstruct[1… in merge_multiplication()
2380 …e() == 2 && mstruct[0][0].isMinusOne() && mstruct[0][1] == CHILD(0) && CHILD(1).representsEven()) { in merge_multiplication()
3170 if(mstruct.representsEven(false)) { in merge_power()
3205 if(mstruct.representsEven(false)) { in merge_power()
3644 if(CHILD(1).representsEven() && CHILD(0).representsReal(true)) { in merge_power()
3743 if(mstruct.representsEven() && CHILD(0).representsReal(true)) { in merge_power()
3756 } else if(mstruct.representsEven()) { in merge_power()
3769 if(mstruct.representsEven() && CHILD(0).representsReal(true) && CHILD(1).number().isOdd()) { in merge_power()
H A DMathStructure.h527 bool representsEven(bool allow_units = false) const;
H A DFunction.cc748 … &vargs, bool allow_units) const {return representsBoolean(vargs) || representsEven(vargs, allow_u… in representsInteger()
755 bool MathFunction::representsEven(const MathStructure&, bool) const {return false;} in representsEven() function in MathFunction
H A DBuiltinFunctions-util.cc148 bool IntervalFunction::representsEven(const MathStructure&, bool) const {return false;} in representsEven() function in IntervalFunction
H A DMathStructure-integrate.cc4943 } else if(mtest[0][1].representsEven()) { in integrate()
6007 } else if(mtest[1][0][1].representsEven()) { in integrate()
H A DMathStructure-isolatex.cc4458 if(mbak[0][1].representsInteger() && mbak[0][1].representsEven()) { in isolate_x_sub()