-
Notifications
You must be signed in to change notification settings - Fork 7
Add rule based integration method #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
9999351
aebf2e6
d82394e
4faa2f8
cd43c01
6cc141f
d66c3be
aa55dca
20279a8
cfd4282
6e027a6
4b1496a
df175a7
914835c
2d8b6e8
34660b8
590f735
7305d97
4e76fe9
42b9d0d
9b97403
17810ee
f556f92
c3344a9
37f4cd0
298a290
dec854d
5bc1e6f
9a81502
98ec6c8
904992c
c46e9b9
2a50f77
37da574
1b9b521
81ced17
3ab5525
0e6cd33
be9de1c
46782c1
4361cb6
fc7095d
bcf2741
efd5847
6f7c299
5d3225f
b106843
06c2530
be2a813
150b5d4
be011b7
1f774ae
6f510b0
7cf5fcc
388df4e
0909714
1eaf984
6209137
f0d1f4c
46b261d
11812fb
03aafdd
17bc246
238f20f
3ae0394
1ae7eb3
e2c51d3
5857c27
99c414b
f8693fa
68f79e4
4b40e2e
352530a
174f2d5
10c636d
f9e68a1
35b4c58
6ded12e
fe0fb6d
63cb323
ccdb5c4
57d689c
844eff5
eda068c
e615d69
2ed2323
9e6b036
3f67972
3d5e11a
b807d8e
8b2eba5
90ebac9
c4d00ab
b991729
fa608a1
98393b1
b25f595
5574603
a949c97
011e1f0
0e77376
097f520
efbb38a
6a4f088
838b710
9f380c7
bda33a3
3578e70
9e64ccd
39f9af4
088f64e
c7f83d6
d327f6e
e7981ac
80cf26b
9288d1a
bff7fe4
b310876
84fd1d6
4d11b6a
b3a6fc6
00d4c90
6f7089e
84808c5
e61f4cd
bc74bfe
836c9b1
1bb5ac5
70d3769
331a8af
d69247a
ad54f28
0123d49
2128b69
874db16
00b3868
ca57399
0dc116d
9c7a44b
9335822
cb44d34
a0b48a4
b488729
c587583
b04db62
4044f0b
8578f67
178613c
7816085
b5c6d36
71384f2
840ba36
a786852
8f42af2
431a2e7
9f01570
3b21d1c
1b2e89a
3b88436
31b3425
93fb035
a489909
d9c9519
e8f7875
1f59729
ffd44d7
7a885b1
eaf880f
19cc97f
88fa6fc
c4c8754
eab91a3
a44758e
ace1c7d
6451d44
8cfa888
b27401a
b9e68b0
5c84a1a
3144438
66d126b
298c1ba
46a1b03
a622acb
dbba3ed
88641ae
d97c609
6e37653
f69b12a
0aa8f93
84c8140
d520878
a53ffc2
4841e13
dd79968
1fc3fe7
c537029
ab54a3f
329b30e
8e36783
0fde30a
ccbec4c
20a543e
2b3a361
aee2e38
01bf063
4b3d573
2d5ce82
9ff7048
469dc5a
f28b728
a5c9488
99811ff
4d14177
afb0336
5e64be5
0fd109d
033d521
3fd5351
afbfe7d
e62d94a
049c278
43e380c
339b361
5a01930
c1baf63
a71a734
e0f405f
54cf820
57a9f3d
85dda75
752a2cb
c168049
1823504
a6f9c85
eaa136a
cf90227
81a6b74
7db7cff
809b007
6ac197e
5a5aa7e
3b9355f
35ce25f
81826c2
f7ab23d
274e0aa
a5419e9
2c0c425
8344d68
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,3 @@ | ||
| using Symbolics | ||
| using SymbolicUtils | ||
| using Logging | ||
|
|
||
| """ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -110,9 +110,7 @@ end | |
| function integrate_rule_based(integrand::Symbolics.Num, int_var::Symbolics.Num; use_gamma::Bool=false, verbose::Bool=true, kwargs...) | ||
| global VERBOSE | ||
| VERBOSE = verbose | ||
|
Comment on lines
+111
to
+112
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no pass it down, this is not thread safe
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the reason i made it global is that some rules if applied call the utlity function All this to say that i need to know in the
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I tought about this for a bit but I cant come up with a way to communicate to
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll follow up on this. |
||
| result = simplify(repeated_prewalk(∫(integrand,int_var))) | ||
| println() | ||
| return result | ||
| return simplify(repeated_prewalk(∫(integrand,int_var))) | ||
| end | ||
|
|
||
| integrate_rule_based(integrand::SymbolicUtils.BasicSymbolic{Real}, int_var::SymbolicUtils.BasicSymbolic{Real}; kwargs...) = | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
error?