Home
last modified time | relevance | path

Searched refs:matchpy (Results 1 – 25 of 47) sorted by relevance

12

/dports/math/py-sympy/sympy-1.9/sympy/utilities/tests/
H A Dtest_matchpy_connector.py6 matchpy = import_module("matchpy") variable
12 from matchpy import ManyToOneMatcher, Pattern
20 if matchpy is None:
24 from matchpy import Pattern, Substitution
50 if matchpy is None:
53 from matchpy import Pattern, Substitution
54 from matchpy import ManyToOneReplacer, ReplacementRule
90 if matchpy is None:
101 matchpy.CustomConstraint(lambda a_: not a_.has(x)),
102 matchpy.CustomConstraint(lambda b_: not b_.has(x)),
[all …]
/dports/math/py-sympy/sympy-1.9/sympy/utilities/
H A Dmatchpy_connector.py17 matchpy = import_module("matchpy") variable
19 if matchpy:
20 from matchpy import Operation, CommutativeOperation, AssociativeOperation, OneIdentityOperation
21 from matchpy.expressions.functions import op_iter, create_operation_expression, op_len
98 if matchpy:
99 from matchpy import Wildcard
231 self._replacer = matchpy.ManyToOneReplacer()
243 return matchpy.CustomConstraint(
265 matchpy.ReplacementRule(matchpy.Pattern(expr, *constraints), lambda_expr))
/dports/math/py-sympy/sympy-1.9/sympy/integrals/rubi/
H A Dsymbol.py2 matchpy = import_module("matchpy") variable
5 if matchpy:
6 from matchpy import Wildcard
H A Drubimain.py9 matchpy = import_module("matchpy") variable
11 if matchpy:
12 from matchpy import ManyToOneReplacer, ManyToOneMatcher
83 if matchpy is None:
H A Dutility_function.py7 matchpy = import_module("matchpy") variable
90 if matchpy:
91 …from matchpy import Arity, Operation, CustomConstraint, Pattern, ReplacementRule, ManyToOneReplacer
93 from matchpy import is_match, replace_all
5075 from matchpy import is_match
7313 if matchpy:
/dports/math/symengine/symengine-0.8.1/symengine/utilities/matchpycpp/
H A DREADME.md4 [MatchPy](https://github.com/HPAC/matchpy). It provides tools to generate
18 git clone https://github.com/HPAC/matchpy
19 cd matchpy
37 from matchpy import *
H A Denvironment.yml8 - git+git://github.com/HPAC/matchpy.git@419c103#egg=matchpy
H A Dgenerate_tests.py2 import matchpy
6 from matchpy.matching.code_generation import CodeGenerator
31 matcher = matchpy.ManyToOneMatcher()
33 matcher.add(matchpy.Pattern(pattern))
H A Dcpp_code_generation.py7 from matchpy.expressions.expressions import Wildcard, AssociativeOperation, SymbolWildcard
8 from matchpy.expressions.constraints import CustomConstraint
9 from matchpy.expressions.functions import op_iter, get_variables
10 from matchpy.matching.syntactic import OPERATION_END, is_operation
11 from matchpy.matching.many_to_one import _EPS
12 from matchpy.utils import get_short_lambda_source
/dports/math/py-sympy/sympy-1.9/sympy/integrals/rubi/parsetools/tests/
H A Dtest_parse.py3 matchpy = import_module("matchpy") variable
5 if not matchpy:
/dports/math/py-sympy/sympy-1.9/sympy/integrals/rubi/tests/
H A Dtest_rubi_integrate.py5 matchpy = import_module("matchpy") variable
7 if not matchpy:
H A Dtest_utility_function.py3 matchpy = import_module("matchpy") variable
5 if not matchpy:
/dports/math/py-sympy/sympy-1.9/
H A Dsetup.cfg45 [mypy-matchpy.*]
/dports/math/py-sympy/sympy-1.9/sympy/integrals/rubi/rules/
H A Dpiecewise_linear.py7 matchpy = import_module("matchpy") variable
9 if matchpy:
10 from matchpy import Pattern, ReplacementRule, CustomConstraint, is_match
H A Dintegrand_simplification.py7 matchpy = import_module("matchpy") variable
9 if matchpy:
10 from matchpy import Pattern, ReplacementRule, CustomConstraint, is_match
H A Dmiscellaneous_integration.py7 matchpy = import_module("matchpy") variable
9 if matchpy:
10 from matchpy import Pattern, ReplacementRule, CustomConstraint, is_match
H A Dexponential.py7 matchpy = import_module("matchpy") variable
9 if matchpy:
10 from matchpy import Pattern, ReplacementRule, CustomConstraint, is_match
H A Dspecial_functions.py7 matchpy = import_module("matchpy") variable
9 if matchpy:
10 from matchpy import Pattern, ReplacementRule, CustomConstraint, is_match
H A Dlogarithms.py7 matchpy = import_module("matchpy") variable
9 if matchpy:
10 from matchpy import Pattern, ReplacementRule, CustomConstraint, is_match
H A Dlinear_products.py7 matchpy = import_module("matchpy") variable
9 if matchpy:
10 from matchpy import Pattern, ReplacementRule, CustomConstraint, is_match
/dports/math/py-sympy/sympy-1.9/sympy/integrals/rubi/rubi_tests/tests/
H A Dtest_1_4.py3 matchpy = import_module("matchpy") variable
5 if not matchpy:
H A Dtest_special_functions.py3 matchpy = import_module("matchpy") variable
4 if not matchpy:
9 if matchpy:
10 from matchpy import Pattern, ReplacementRule, CustomConstraint, is_match
H A Dtest_1_2.py9 matchpy = import_module("matchpy") variable
11 if not matchpy:
H A Dtest_inverse_hyperbolic_sine.py3 matchpy = import_module("matchpy") variable
5 if not matchpy:
/dports/math/py-sympy/sympy-1.9/sympy/printing/tests/
H A Dtest_str.py794 matchpy = import_module("matchpy")
796 if matchpy is None:

12