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
07aceae5
Commit
07aceae5
authored
Sep 13, 2012
by
Taddeüs Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Groups are now combined before being expanded.
parent
f95962fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/rules/precedences.py
src/rules/precedences.py
+3
-1
No files found.
src/rules/precedences.py
View file @
07aceae5
...
...
@@ -27,6 +27,7 @@ from .integrals import factor_out_constant, integrate_variable_root
from
.powers
import
remove_power_of_one
from
.sqrt
import
quadrant_sqrt
,
extract_sqrt_mult_priority
from
.lineq
import
substitute_variable
,
swap_sides
,
divide_term
,
multiply_term
from
.groups
import
combine_groups
# Functions to move to the beginning of the possibilities list. Pairs of within
...
...
@@ -71,8 +72,9 @@ RELATIVE = [
(
chain_rule
,
raised_base
),
(
raised_base
,
factor_out_exponent
),
# Combine groups before expanding them
# Expand 'single' before 'double' to avoid unnessecary complexity
(
expand_single
,
expand_double
),
(
combine_groups
,
expand_single
,
expand_double
),
(
factor_out_exponent_important
,
raise_numerics
),
...
...
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