Home
last modified time | relevance | path

Searched refs:representsNumber (Results 1 – 25 of 27) sorted by relevance

12

/dports/math/libqalculate/libqalculate-3.17.0/libqalculate/
H A DBuiltinFunctions-calculus.cc48 bool liFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size() == 1… in representsNumber() function in liFunction
58 bool EiFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size() == 1… in representsNumber() function in EiFunction
75 …ol FresnelSFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size()… in representsNumber() function in FresnelSFunction
108 …ol FresnelCFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size()… in representsNumber() function in FresnelCFunction
131 bool SiFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size() == 1… in representsNumber() function in SiFunction
176 bool CiFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size() == 1… in representsNumber() function in CiFunction
216 bool ShiFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size() == … in representsNumber() function in ShiFunction
250 bool ChiFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size() == … in representsNumber() function in ChiFunction
290 bool IGammaFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size() … in representsNumber() function in IGammaFunction
H A DVariable.h154 virtual bool representsNumber(bool = false) {return false;}
228 virtual bool representsNumber(bool = false);
333 virtual bool representsNumber(bool = false);
387 virtual bool representsNumber(bool = false) {return true;}
446 virtual bool representsNumber(bool b = false) {return b;}
461 virtual bool representsNumber(bool b = false) {return b;}
476 virtual bool representsNumber(bool b = false) {return b;}
491 virtual bool representsNumber(bool b = false) {return b;}
H A DBuiltinFunctions-trigonometry.cc91 } else if(!mstruct[i].representsNumber()) { in is_number_angle_value()
645 bool TanFunction::representsNumber(const MathStructure&, bool) const {return false;} in representsNumber() function in TanFunction
899 … AsinFunction::representsNumber(const MathStructure &vargs, bool allow_units) const {return vargs.… in representsNumber() function in AsinFunction
1074 … AcosFunction::representsNumber(const MathStructure &vargs, bool allow_units) const {return vargs.… in representsNumber() function in AcosFunction
1441 … SinhFunction::representsNumber(const MathStructure &vargs, bool allow_units) const {return vargs.… in representsNumber() function in SinhFunction
1490 … CoshFunction::representsNumber(const MathStructure &vargs, bool allow_units) const {return vargs.… in representsNumber() function in CoshFunction
1534 … TanhFunction::representsNumber(const MathStructure &vargs, bool allow_units) const {return vargs.… in representsNumber() function in TanhFunction
1585 …AsinhFunction::representsNumber(const MathStructure &vargs, bool allow_units) const {return vargs.… in representsNumber() function in AsinhFunction
1608 …AcoshFunction::representsNumber(const MathStructure &vargs, bool allow_units) const {return vargs.… in representsNumber() function in AcoshFunction
1686 bool SincFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size() ==… in representsNumber() function in SincFunction
[all …]
H A DBuiltinFunctions-special.cc260 bool ErfFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size() == … in representsNumber() function in ErfFunction
292 bool ErfiFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size() ==… in representsNumber() function in ErfiFunction
323 bool ErfcFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size() ==… in representsNumber() function in ErfcFunction
351representsNumber(const MathStructure &vargs, bool) const {return vargs.size() == 2 && vargs[0].rep… in representsNumber() function in LiFunction
437 bool HeavisideFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size… in representsNumber() function in HeavisideFunction
496 bool DiracFunction::representsNumber(const MathStructure&, bool) const {return false;} in representsNumber() function in DiracFunction
H A DBuiltinFunctions-number.cc137 …l AbsFunction::representsNumber(const MathStructure &vargs, bool allow_units) const {return vargs.… in representsNumber() function in AbsFunction
251 bool SignumFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size() … in representsNumber() function in SignumFunction
355 bool CeilFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size() ==… in representsNumber() function in CeilFunction
405 bool FloorFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size() =… in representsNumber() function in FloorFunction
455 bool TruncFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size() =… in representsNumber() function in TruncFunction
520 bool RoundFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size() =… in representsNumber() function in RoundFunction
1187 bool ImFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size() == 1… in representsNumber() function in ImFunction
1189 …(const MathStructure &vargs, bool) const {return vargs.size() == 1 && vargs[0].representsNumber();} in representsReal()
1267 …ol ReFunction::representsNumber(const MathStructure &vargs, bool allow_units) const {return vargs.… in representsNumber() function in ReFunction
1282 bool ArgFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size() == … in representsNumber() function in ArgFunction
[all …]
H A DBuiltinFunctions-combinatorics.cc48 bool FactorialFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size… in representsNumber() function in FactorialFunction
72 bool DoubleFactorialFunction::representsNumber(const MathStructure &vargs, bool) const {return varg… in representsNumber() function in DoubleFactorialFunction
94 bool MultiFactorialFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs… in representsNumber() function in MultiFactorialFunction
H A DBuiltinFunctions-explog.cc165 … SqrtFunction::representsNumber(const MathStructure &vargs, bool allow_units) const {return vargs.… in representsNumber() function in SqrtFunction
430representsNumber(const MathStructure &vargs, bool allow_units) const {return vargs.size() == 2 && … in representsNumber() function in RootFunction
472 …l LogFunction::representsNumber(const MathStructure &vargs, bool allow_units) const {return vargs.… in representsNumber() function in LogFunction
810 …l LambertWFunction::representsNumber(const MathStructure &vargs, bool) const {return vargs.size() … in representsNumber() function in LambertWFunction
H A DBuiltinFunctions.h71 bool representsNumber(const MathStructure &vargs, bool allow_units = false) const;\
89 bool representsNumber(const MathStructure &vargs, bool allow_units = false) const;\
101 bool representsNumber(const MathStructure &vargs, bool allow_units = false) const;\
115 bool representsNumber(const MathStructure &vargs, bool allow_units = false) const;\
H A DVariable.cc163 else if(mvar.representsNumber(true)) ass->setType(ASSUMPTION_TYPE_NUMBER); in setAssumptions()
217 bool UnknownVariable::representsNumber(bool b) { in representsNumber() function in UnknownVariable
218 if(!b && mstruct) return mstruct->representsNumber(false); in representsNumber()
514 bool KnownVariable::representsNumber(bool allow_units) {return get().representsNumber(allow_units);} in representsNumber() function in KnownVariable
H A DMathStructure.cc766 bool MathStructure::representsNumber(bool allow_units) const { in representsNumber() function in MathStructure
769 case STRUCT_VARIABLE: {return o_variable->representsNumber(allow_units);} in representsNumber()
771 …: {return (function_value && function_value->representsNumber(allow_units)) || o_function->represe… in representsNumber()
780 if(!CHILD(i).representsNumber(allow_units)) return false; in representsNumber()
1135 …).number().includesInfinity()) || (!CHILD(1).isNumber() && CHILD(1).representsNumber(true)))) || (… in representsNonZero()
1964 if(!b_not_number && !(*mtest)[i].representsNumber(true)) { in compare_check_incompability()
1969 } else if(!b_not_number && !(*mtest)[i].representsNumber(true)) { in compare_check_incompability()
2709 if(!mstruct.isNumber() && (o_function->isBuiltin() || representsNumber())) { in containsRepresentativeOf()
2792 if(representsNumber(false)) { in containsRepresentativeOfType()
H A DBuiltinFunctions-util.cc142representsNumber(const MathStructure &vargs, bool allow_units) const {return vargs.size() == 2 && … in representsNumber() function in IntervalFunction
751 REPRESENTS_FUNCTION(RepresentsNumberFunction, representsNumber) in REPRESENTS_FUNCTION()
H A DBuiltinFunctions-statistics.cc362 bool RandnFunction::representsNumber(const MathStructure&, bool) const {return true;} in representsNumber() function in RandnFunction
H A DMathStructure-limit.cc465 } else if(!mstruct[i].representsNonZero(true) || !mstruct[i].representsNumber(true)) { in calculate_limit_sub()
466 if(!mstruct[i].contains(x_var) && !mstruct.isZero() && mstruct[i].representsNumber(true)) { in calculate_limit_sub()
812 if(mstruct[i].representsNumber()) { in calculate_limit_sub()
H A DMathStructure-calculate.cc1338 …if((!isPower() || !CHILD(1).hasNegativeSign()) && representsNumber() && mstruct[0].representsNumbe… in merge_multiplication()
1350 …Power() || !mstruct[1].hasNegativeSign()) && mstruct.representsNumber() && CHILD(0).representsNumb… in merge_multiplication()
1612 if(mstruct.representsNumber(true) || warn_about_assumed_not_value(mstruct[0], m_one, eo)) { in merge_multiplication()
1626 } else if(mstruct.isPower() && mstruct[0].isFunction() && mstruct[1].representsNumber()) { in merge_multiplication()
1634 … if(mstruct[0].representsNumber(true) || warn_about_assumed_not_value(mstruct[0][0], m_one, eo)) { in merge_multiplication()
2565 if(CHILD(0).isFunction() && mstruct.isZero() && CHILD(1).representsNumber()) { in merge_multiplication()
2574 if(CHILD(0).representsNumber(true) || warn_about_assumed_not_value(CHILD(0)[0], m_one, eo)) { in merge_multiplication()
2699 if(representsNumber(true) || warn_about_assumed_not_value(CHILD(0), m_one, eo)) { in merge_multiplication()
2848 …isUnit() && unit() == CALCULATOR->getRadUnit()) || (isFunction() && representsNumber(false))) && !… in merge_multiplication()
3157 } else if(isOne() && mstruct.representsNumber()) { in merge_power()
[all …]
H A DFunction.h196 virtual bool representsNumber(const MathStructure&, bool = false) const;
H A DMathStructure-differentiate.cc687 if(representsNumber(true)) { in differentiate()
H A DMathStructure.h518 bool representsNumber(bool allow_units = false) const;
H A DFunction.cc749 bool MathFunction::representsNumber(const MathStructure &vargs, bool allow_units) const {return rep… in representsNumber() function in MathFunction
760 return representsNumber(vargs, true); in representsNonMatrix()
H A DBuiltinFunctions-algebra.cc799 if(mstruct.isNumber() || !m.representsNumber()) return true; in contains_ignore_diff()
H A DMathStructure-integrate.cc6436 if(representsNumber(true)) { in integrate()
6455 if(representsNumber(true)) { in integrate()
7097 …>id() == FUNCTION_ID_TAN || m.function()->id() == FUNCTION_ID_TANH || !m.representsNumber(true))) { in check_denominators()
H A DMathStructure-isolatex.cc4475 …} else if(CHILD(0)[1].contains(x_var) && CHILD(0)[0].representsNumber() && (!CHILD(0)[1].represent… in isolate_x_sub()
/dports/math/libqalculate/libqalculate-3.17.0/po-defs/
H A Dfr.po6093 msgid "r:representsNumber"
6094 msgstr "r:representsNumber"
H A Dzh_CN.po6113 msgid "r:representsNumber"
H A Dnl.po6275 msgid "r:representsNumber"
/dports/math/libqalculate/libqalculate-3.17.0/
H A DChangeLog2308 …* New functions: addTime(), isNumber(), isReal(), isRational(), isInteger(), representsNumber(), r…

12