Home
last modified time | relevance | path

Searched refs:representsReal (Results 1 – 25 of 26) sorted by relevance

12

/dports/math/libqalculate/libqalculate-3.17.0/libqalculate/
H A DBuiltinFunctions-number.cc204 if(mstruct.isPower() && mstruct[1].representsReal()) { in calculate()
254 bool SignumFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() >=… in representsReal() function in SignumFunction
358 bool CeilFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == 1… in representsReal() function in CeilFunction
408 bool FloorFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == … in representsReal() function in FloorFunction
457 bool TruncFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == … in representsReal() function in TruncFunction
522 bool RoundFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == … in representsReal() function in RoundFunction
1122 } else if(mstruct.representsReal(!eo.keep_zero_units)) { in calculate()
1159 if(mstruct[i].representsReal(true)) { in calculate()
1193 …en(const MathStructure &vargs, bool) const {return vargs.size() == 1 && vargs[0].representsReal();} in representsEven()
1210 } else if(mstruct.representsReal(true)) { in calculate()
[all …]
H A DVariable.h156 virtual bool representsReal(bool = false) {return false;}
157 virtual bool representsNonComplex(bool b = false) {return representsReal(b);}
230 virtual bool representsReal(bool = false);
335 virtual bool representsReal(bool = false);
389 virtual bool representsReal(bool = false) {return true;}
447 virtual bool representsReal(bool b = false) {return b;}
462 virtual bool representsReal(bool b = false) {return b;}
477 virtual bool representsReal(bool b = false) {return b;}
492 virtual bool representsReal(bool b = false) {return b;}
H A DBuiltinFunctions-explog.cc168 …nComplex(const MathStructure &vargs, bool allow_units) const {return representsReal(vargs, allow_u… in representsNonComplex()
284 if(!mstruct[0].representsReal(true)) return -1; in calculate()
294 if(!mstruct[0].representsReal(true)) return -1; in calculate()
302 if(!mstruct[0].representsReal(true)) return -1; in calculate()
354 if(!mstruct[i].representsReal(true)) { in calculate()
432representsReal(const MathStructure &vargs, bool allow_units) const {return vargs.size() == 2 && va… in representsReal() function in RootFunction
433 …nComplex(const MathStructure &vargs, bool allow_units) const {return representsReal(vargs, allow_u… in representsNonComplex()
474 bool LogFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == 1 … in representsReal() function in LogFunction
491 if(mstruct[1].representsReal()) { in calculate()
521 if(mstruct[1].representsReal()) { in calculate()
[all …]
H A DBuiltinFunctions-special.cc262 bool ErfFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == 1 … in representsReal() function in ErfFunction
294 bool ErfiFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == 1… in representsReal() function in ErfiFunction
318 …ve(const MathStructure &vargs, bool) const {return vargs.size() == 1 && vargs[0].representsReal();} in representsPositive()
320 …ve(const MathStructure &vargs, bool) const {return vargs.size() == 1 && vargs[0].representsReal();} in representsNonNegative()
325 bool ErfcFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == 1… in representsReal() function in ErfcFunction
328 …ro(const MathStructure &vargs, bool) const {return vargs.size() == 1 && vargs[0].representsReal();} in representsNonZero()
345 bool LiFunction::representsReal(const MathStructure &vargs, bool) const { in representsReal() function in LiFunction
437 …onst MathStructure &vargs, bool) const {return vargs.size() == 1 && vargs[0].representsReal(true);} in representsNumber()
438 …onst MathStructure &vargs, bool) const {return vargs.size() == 1 && vargs[0].representsReal(true);} in representsRational()
440 …ool HeavisideFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size()… in representsReal() function in HeavisideFunction
[all …]
H A DBuiltinFunctions-calculus.cc42 bool liFunction::representsReal(const MathStructure &vargs, bool) const { in representsReal() function in liFunction
43 …return vargs.size() == 1 && vargs[0].representsReal() && vargs[0].representsNonNegative() && ((var… in representsReal()
46 return vargs.size() == 1 && vargs[0].representsReal() && vargs[0].representsNonNegative(); in representsNonComplex()
56 bool EiFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == 1 &… in representsReal() function in EiFunction
77 bool FresnelSFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() … in representsReal() function in FresnelSFunction
110 bool FresnelCFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() … in representsReal() function in FresnelCFunction
132 bool SiFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == 1 &… in representsReal() function in SiFunction
175 bool CiFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == 1 &… in representsReal() function in CiFunction
215 bool ShiFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == 1 … in representsReal() function in ShiFunction
248 bool ChiFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == 1 … in representsReal() function in ChiFunction
[all …]
H A DBuiltinFunctions-combinatorics.cc50 bool FactorialFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size()… in representsReal() function in FactorialFunction
74 bool DoubleFactorialFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.… in representsReal() function in DoubleFactorialFunction
97 bool MultiFactorialFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.s… in representsReal() function in MultiFactorialFunction
H A DBuiltinFunctions-trigonometry.cc48 } else if(!mstruct[i].representsReal()) { in is_real_angle_value()
161 bool SinFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == 1 … in representsReal() function in SinFunction
407 bool CosFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == 1 … in representsReal() function in CosFunction
646 bool TanFunction::representsReal(const MathStructure&, bool) const {return false;} in representsReal() function in TanFunction
1244 …args, bool allow_units) const {return vargs.size() == 1 && (vargs[0].representsReal(allow_units) |… in representsNumber()
1245 bool AtanFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == 1… in representsReal() function in AtanFunction
1442 bool SinhFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == 1… in representsReal() function in SinhFunction
1491 bool CoshFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == 1… in representsReal() function in CoshFunction
1535 bool TanhFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == 1… in representsReal() function in TanhFunction
1586 bool AsinhFunction::representsReal(const MathStructure &vargs, bool) const {return vargs.size() == … in representsReal() function in AsinhFunction
[all …]
H A DBuiltinFunctions.h54 bool representsReal(const MathStructure&, bool) const;\
73 bool representsReal(const MathStructure &vargs, bool allow_units = false) const;\
90 bool representsReal(const MathStructure &vargs, bool allow_units = false) const;\
102 bool representsReal(const MathStructure &vargs, bool allow_units = false) const;\
H A DBuiltinFunctions-statistics.cc310 bool RandFunction::representsReal(const MathStructure&, bool) const {return true;} in representsReal() function in RandFunction
360 bool RandnFunction::representsReal(const MathStructure&, bool) const {return true;} in representsReal() function in RandnFunction
389 bool RandPoissonFunction::representsReal(const MathStructure&, bool) const {return true;} in representsReal() function in RandPoissonFunction
H A DMathStructure.cc867 return (CHILD(0).representsPositive(allow_units) && CHILD(1).representsReal(false)) in representsPositive()
935 || (CHILD(0).representsNonNegative(allow_units) && CHILD(1).representsReal(false)) in representsNonNegative()
1004 bool MathStructure::representsReal(bool allow_units) const { in representsReal() function in MathStructure
1007 case STRUCT_VARIABLE: {return o_variable->representsReal(allow_units);} in representsReal()
1011 …return (function_value && function_value->representsReal(allow_units)) || o_function->representsRe… in representsReal()
1017 if(!CHILD(i).representsReal(allow_units)) return false; in representsReal()
1023 if(!CHILD(i).representsReal(allow_units)) { in representsReal()
1030 return (CHILD(0).representsPositive(allow_units) && CHILD(1).representsReal(false)) in representsReal()
1065 return (CHILD(0).representsPositive(allow_units) && CHILD(1).representsReal(false)) in representsNonComplex()
1066 || (CHILD(0).representsReal(allow_units) && CHILD(1).representsInteger(false)); in representsNonComplex()
[all …]
H A DVariable.cc161 else if(mvar.representsReal(true)) ass->setType(ASSUMPTION_TYPE_REAL); in setAssumptions()
227 bool UnknownVariable::representsReal(bool b) { in representsReal() function in UnknownVariable
228 if(!b && mstruct) return mstruct->representsReal(false); in representsReal()
516 bool KnownVariable::representsReal(bool allow_units) {return get().representsReal(allow_units);} in representsReal() function in KnownVariable
H A DMathStructure-calculate.cc184 if(mstruct.representsReal(false)) { in merge_addition()
190 if(representsReal(false)) { in merge_addition()
1555 if(equals(mstruct[0]) && representsReal(true)) { in merge_multiplication()
1567 if(equals(mstruct[0]) && mstruct[0].representsReal(true) && mstruct[1].number().isOdd()) { in merge_multiplication()
2637 } else if(mstruct == CHILD(0) && CHILD(0).representsReal(true)) { in merge_multiplication()
2653 if(CHILD(0) == mstruct && CHILD(0).representsReal(true) && CHILD(1).number().isOdd()) { in merge_multiplication()
3644 if(CHILD(1).representsEven() && CHILD(0).representsReal(true)) { in merge_power()
3743 if(mstruct.representsEven() && CHILD(0).representsReal(true)) { in merge_power()
3757 if(CHILD(1).isOne() && CHILD(0).representsReal(true)) { in merge_power()
3769 if(mstruct.representsEven() && CHILD(0).representsReal(true) && CHILD(1).number().isOdd()) { in merge_power()
[all …]
H A DBuiltinFunctions-util.cc144representsReal(const MathStructure &vargs, bool allow_units) const {return vargs.size() == 2 && va… in representsReal() function in IntervalFunction
749 REPRESENTS_FUNCTION(RepresentsRealFunction, representsReal) in REPRESENTS_FUNCTION()
H A DMathStructure-isolatex.cc1236 if(get_multiplier(*mvar, *mvar2, m_b_exp) && m_b.representsReal() && !m_b.contains(x_var)) { in isolate_x_sub()
2511 if(b_real == 0 && x_var.representsReal(true)) { in isolate_x_sub()
2602 if(!(*malt1)[1][i].representsReal(true)) { in isolate_x_sub()
2614 if(!(*malt2)[1][i].representsReal(true)) { in isolate_x_sub()
2626 if(!(*malt3)[1][i].representsReal(true)) { in isolate_x_sub()
2635 …if(b_real < 1 || !x_var.representsReal(true) || (!(*malt1)[1].representsComplex(true) && !(*malt2)… in isolate_x_sub()
2800 …if(!x_var.representsReal()) CALCULATOR->error(false, _("Not all complex roots were calculated for … in isolate_x_sub()
4389 if(CALCULATOR->endTemporaryStopMessages() || !mtest.representsReal(true)) { in isolate_x_sub()
4856 } else if(CHILD(1).representsReal()) { in isolate_x_sub()
5305 } else if(CHILD(1).representsReal(true)) { in isolate_x_sub()
[all …]
H A DMathStructure-gcd.cc761 if(!msqrfree[0].representsReal(true)) return false; in do_simplification()
772 if(!msqrfree[0].representsReal(true)) return false; in do_simplification()
782 if(!msqrfree[0].representsReal(true)) return false; in do_simplification()
H A DFunction.h199 virtual bool representsReal(const MathStructure&, bool = false) const;
H A DFunction.cc749 …tsNumber(const MathStructure &vargs, bool allow_units) const {return representsReal(vargs, allow_u… in representsNumber()
751 …nComplex(const MathStructure &vargs, bool allow_units) const {return representsReal(vargs, allow_u… in representsNonComplex()
752 bool MathFunction::representsReal(const MathStructure &vargs, bool allow_units) const {return repre… in representsReal() function in MathFunction
H A DMathStructure-limit.cc314 … || (mstruct.isMultiplication() && mstruct.size() == 2 && mstruct[0].representsReal() && mstruct[1… in is_plus_minus_infinity()
1124 if(nr_limit.representsReal() || nr_limit.isInfinite()) ass->setType(ASSUMPTION_TYPE_REAL); in calculateLimit()
H A DMathStructure.h521 bool representsReal(bool allow_units = false) const;
H A DMathStructure-integrate.cc364 …e if(m[i][i2].containsRepresentativeOf(x_var, true, true) != 0 || !m[i][i2].representsReal(true)) { in combine_ln()
376 } else if(m[i].containsRepresentativeOf(x_var, true, true) != 0 || !m[i].representsReal(true)) { in combine_ln()
2228 …mul, mexp) && (!definite_integral || x_var.representsNonZero(true) || madd.representsReal(true))) { in integrate_function()
4948 } else if(!definite_integral && mtest[0][0].representsReal(true)) { in integrate()
6012 } else if(!definite_integral && mtest[1][0][0].representsReal(true)) { in integrate()
7194 …ct.function()->id() == FUNCTION_ID_ERFI) && mstruct.size() == 1 && !mstruct[0].representsReal())) { in contains_incalc_function()
/dports/math/libqalculate/libqalculate-3.17.0/po-defs/
H A Dfr.po6101 msgid "r:representsReal"
6102 msgstr "r:representsReal"
H A Dzh_CN.po6121 msgid "r:representsReal"
H A Dnl.po6283 msgid "r:representsReal"
H A Dsv.po6196 msgid "r:representsReal"
/dports/math/libqalculate/libqalculate-3.17.0/
H A DChangeLog2308 …isNumber(), isReal(), isRational(), isInteger(), representsNumber(), representsReal(), representsR…

12