Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
trs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
trs
Commits
a54a32b2
Commit
a54a32b2
authored
Apr 19, 2012
by
Taddeus Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added some rules to IMPLICIT list.
parent
71bff3f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/rules/precedences.py
src/rules/precedences.py
+5
-1
No files found.
src/rules/precedences.py
View file @
a54a32b2
...
@@ -4,7 +4,8 @@ from .numerics import reduce_fraction_constants
...
@@ -4,7 +4,8 @@ from .numerics import reduce_fraction_constants
from
.logarithmic
import
factor_in_exponent_multiplicant
,
\
from
.logarithmic
import
factor_in_exponent_multiplicant
,
\
factor_out_exponent
,
raised_base
factor_out_exponent
,
raised_base
from
.derivatives
import
chain_rule
from
.derivatives
import
chain_rule
from
.negation
import
double_negation
from
.negation
import
double_negation
,
negated_factor
,
negated_nominator
,
\
negated_denominator
# Functions to move to the beginning of the possibilities list. Pairs of within
# Functions to move to the beginning of the possibilities list. Pairs of within
# the list itself are compared by their position in the list: lower in the list
# the list itself are compared by their position in the list: lower in the list
...
@@ -45,5 +46,8 @@ LOW = dict([(h, i) for i, h in enumerate(LOW)])
...
@@ -45,5 +46,8 @@ LOW = dict([(h, i) for i, h in enumerate(LOW)])
# List of implicit rules. Implicit rules are condidererd trivial and are
# List of implicit rules. Implicit rules are condidererd trivial and are
# therefore not printed in verbose rewrite_all mode
# therefore not printed in verbose rewrite_all mode
IMPLICIT_RULES
=
[
IMPLICIT_RULES
=
[
negated_factor
,
double_negation
,
double_negation
,
negated_nominator
,
negated_denominator
,
]
]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment