padaquad 0.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. padaquad-0.2.0/LICENSE.md +310 -0
  2. padaquad-0.2.0/MANIFEST.in +1 -0
  3. padaquad-0.2.0/PKG-INFO +387 -0
  4. padaquad-0.2.0/README.md +342 -0
  5. padaquad-0.2.0/padaquad/__init__.py +12 -0
  6. padaquad-0.2.0/padaquad/base.py +433 -0
  7. padaquad-0.2.0/padaquad/distributed.py +297 -0
  8. padaquad-0.2.0/padaquad/examples.py +289 -0
  9. padaquad-0.2.0/padaquad/integrate.py +144 -0
  10. padaquad-0.2.0/padaquad/methods/__init__.py +125 -0
  11. padaquad-0.2.0/padaquad/methods/_base.py +112 -0
  12. padaquad-0.2.0/padaquad/methods/clenshaw_curtis.py +135 -0
  13. padaquad-0.2.0/padaquad/methods/gauss_kronrod.py +313 -0
  14. padaquad-0.2.0/padaquad/methods/interpolatory.py +207 -0
  15. padaquad-0.2.0/padaquad/methods/runge_kutta.py +92 -0
  16. padaquad-0.2.0/padaquad/quadrature/__init__.py +42 -0
  17. padaquad-0.2.0/padaquad/quadrature/base.py +1644 -0
  18. padaquad-0.2.0/padaquad/quadrature/uniform.py +233 -0
  19. padaquad-0.2.0/padaquad/quadrature/variable.py +263 -0
  20. padaquad-0.2.0/padaquad/results.py +109 -0
  21. padaquad-0.2.0/padaquad/runge_kutta.py +286 -0
  22. padaquad-0.2.0/padaquad.egg-info/PKG-INFO +387 -0
  23. padaquad-0.2.0/padaquad.egg-info/SOURCES.txt +62 -0
  24. padaquad-0.2.0/padaquad.egg-info/dependency_links.txt +1 -0
  25. padaquad-0.2.0/padaquad.egg-info/requires.txt +22 -0
  26. padaquad-0.2.0/padaquad.egg-info/top_level.txt +1 -0
  27. padaquad-0.2.0/pyproject.toml +175 -0
  28. padaquad-0.2.0/setup.cfg +4 -0
  29. padaquad-0.2.0/tests/test_adaptive_steps.py +168 -0
  30. padaquad-0.2.0/tests/test_adaptivity.py +174 -0
  31. padaquad-0.2.0/tests/test_autodiff_consistency.py +162 -0
  32. padaquad-0.2.0/tests/test_base_and_methods.py +258 -0
  33. padaquad-0.2.0/tests/test_base_solver.py +246 -0
  34. padaquad-0.2.0/tests/test_bug_regressions.py +241 -0
  35. padaquad-0.2.0/tests/test_chemistry.py +77 -0
  36. padaquad-0.2.0/tests/test_convergence_rate.py +190 -0
  37. padaquad-0.2.0/tests/test_data_types.py +77 -0
  38. padaquad-0.2.0/tests/test_early_exit_result_fields.py +198 -0
  39. padaquad-0.2.0/tests/test_error_computation.py +265 -0
  40. padaquad-0.2.0/tests/test_error_indicator.py +153 -0
  41. padaquad-0.2.0/tests/test_evaluate_and_merge.py +362 -0
  42. padaquad-0.2.0/tests/test_evaluate_f_on_mesh.py +1480 -0
  43. padaquad-0.2.0/tests/test_exactness.py +243 -0
  44. padaquad-0.2.0/tests/test_examples_run.py +98 -0
  45. padaquad-0.2.0/tests/test_gradient.py +255 -0
  46. padaquad-0.2.0/tests/test_gradient_integration.py +341 -0
  47. padaquad-0.2.0/tests/test_integrals.py +68 -0
  48. padaquad-0.2.0/tests/test_interpolation.py +114 -0
  49. padaquad-0.2.0/tests/test_methods_extra.py +111 -0
  50. padaquad-0.2.0/tests/test_methods_registry.py +232 -0
  51. padaquad-0.2.0/tests/test_multi_d_integrand.py +184 -0
  52. padaquad-0.2.0/tests/test_path_integral.py +87 -0
  53. padaquad-0.2.0/tests/test_prune_and_optimal.py +159 -0
  54. padaquad-0.2.0/tests/test_public_api.py +171 -0
  55. padaquad-0.2.0/tests/test_record_and_sort.py +190 -0
  56. padaquad-0.2.0/tests/test_rk_integral.py +147 -0
  57. padaquad-0.2.0/tests/test_rk_solver_methods.py +198 -0
  58. padaquad-0.2.0/tests/test_scipy_agreement.py +128 -0
  59. padaquad-0.2.0/tests/test_snapshots.py +194 -0
  60. padaquad-0.2.0/tests/test_solver_isolation.py +156 -0
  61. padaquad-0.2.0/tests/test_sorted_insert.py +143 -0
  62. padaquad-0.2.0/tests/test_tableau.py +47 -0
  63. padaquad-0.2.0/tests/test_variable_integration.py +90 -0
  64. padaquad-0.2.0/tests/test_y0_and_f_args.py +196 -0
@@ -0,0 +1,310 @@
1
+ # Creative Commons Attribution 4.0 International Public License
2
+
3
+ By exercising the Licensed Rights (defined below), You accept and agree
4
+ to be bound by the terms and conditions of this Creative Commons
5
+ Attribution 4.0 International Public License ("Public License"). To the
6
+ extent this Public License may be interpreted as a contract, You are
7
+ granted the Licensed Rights in consideration of Your acceptance of
8
+ these terms and conditions, and the Licensor grants You such rights in
9
+ consideration of benefits the Licensor receives from making the
10
+ Licensed Material available under these terms and conditions.
11
+
12
+
13
+ ## Section 1 -- Definitions.
14
+
15
+ a. <ins>Adapted Material</ins> means material subject to Copyright and Similar
16
+ Rights that is derived from or based upon the Licensed Material
17
+ and in which the Licensed Material is translated, altered,
18
+ arranged, transformed, or otherwise modified in a manner requiring
19
+ permission under the Copyright and Similar Rights held by the
20
+ Licensor. For purposes of this Public License, where the Licensed
21
+ Material is a musical work, performance, or sound recording,
22
+ Adapted Material is always produced where the Licensed Material is
23
+ synched in timed relation with a moving image.
24
+
25
+ b. <ins>Adapter's License</ins> means the license You apply to Your Copyright
26
+ and Similar Rights in Your contributions to Adapted Material in
27
+ accordance with the terms and conditions of this Public License.
28
+
29
+ c. <ins>Copyright and Similar Rights</ins> means copyright and/or similar rights
30
+ closely related to copyright including, without limitation,
31
+ performance, broadcast, sound recording, and Sui Generis Database
32
+ Rights, without regard to how the rights are labeled or
33
+ categorized. For purposes of this Public License, the rights
34
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
35
+ Rights.
36
+
37
+ d. <ins>Effective Technological Measures</ins> means those measures that, in the
38
+ absence of proper authority, may not be circumvented under laws
39
+ fulfilling obligations under Article 11 of the WIPO Copyright
40
+ Treaty adopted on December 20, 1996, and/or similar international
41
+ agreements.
42
+
43
+ e. <ins>Exceptions and Limitations</ins> means fair use, fair dealing, and/or
44
+ any other exception or limitation to Copyright and Similar Rights
45
+ that applies to Your use of the Licensed Material.
46
+
47
+ f. <ins>Licensed Material</ins> means the artistic or literary work, database,
48
+ or other material to which the Licensor applied this Public
49
+ License.
50
+
51
+ g. <ins>Licensed Rights</ins> means the rights granted to You subject to the
52
+ terms and conditions of this Public License, which are limited to
53
+ all Copyright and Similar Rights that apply to Your use of the
54
+ Licensed Material and that the Licensor has authority to license.
55
+
56
+ h. <ins>Licensor</ins> means the individual(s) or entity(ies) granting rights
57
+ under this Public License.
58
+
59
+ i. <ins>Share</ins> means to provide material to the public by any means or
60
+ process that requires permission under the Licensed Rights, such
61
+ as reproduction, public display, public performance, distribution,
62
+ dissemination, communication, or importation, and to make material
63
+ available to the public including in ways that members of the
64
+ public may access the material from a place and at a time
65
+ individually chosen by them.
66
+
67
+ j. <ins>Sui Generis Database Rights</ins> means rights other than copyright
68
+ resulting from Directive 96/9/EC of the European Parliament and of
69
+ the Council of 11 March 1996 on the legal protection of databases,
70
+ as amended and/or succeeded, as well as other essentially
71
+ equivalent rights anywhere in the world.
72
+
73
+ k. <ins>You</ins> means the individual or entity exercising the Licensed Rights
74
+ under this Public License. **Your** has a corresponding meaning.
75
+
76
+
77
+ ## Section 2 -- Scope.
78
+
79
+ a. **License grant.**
80
+
81
+ 1. Subject to the terms and conditions of this Public License,
82
+ the Licensor hereby grants You a worldwide, royalty-free,
83
+ non-sublicensable, non-exclusive, irrevocable license to
84
+ exercise the Licensed Rights in the Licensed Material to:
85
+
86
+ a. reproduce and Share the Licensed Material, in whole or
87
+ in part; and
88
+
89
+ b. produce, reproduce, and Share Adapted Material.
90
+
91
+ 2. **Exceptions and Limitations.** For the avoidance of doubt, where
92
+ Exceptions and Limitations apply to Your use, this Public
93
+ License does not apply, and You do not need to comply with
94
+ its terms and conditions.
95
+
96
+ 3. **Term.** The term of this Public License is specified in Section
97
+ 6(a).
98
+
99
+ 4. **Media and formats; technical modifications allowed.** The
100
+ Licensor authorizes You to exercise the Licensed Rights in
101
+ all media and formats whether now known or hereafter created,
102
+ and to make technical modifications necessary to do so. The
103
+ Licensor waives and/or agrees not to assert any right or
104
+ authority to forbid You from making technical modifications
105
+ necessary to exercise the Licensed Rights, including
106
+ technical modifications necessary to circumvent Effective
107
+ Technological Measures. For purposes of this Public License,
108
+ simply making modifications authorized by this Section 2(a)
109
+ (4) never produces Adapted Material.
110
+
111
+ 5. <ins>Downstream recipients.</ins>
112
+
113
+ a. <ins>Offer from the Licensor -- Licensed Material.</ins> Every
114
+ recipient of the Licensed Material automatically
115
+ receives an offer from the Licensor to exercise the
116
+ Licensed Rights under the terms and conditions of this
117
+ Public License.
118
+
119
+ b. <ins>No downstream restrictions.</ins> You may not offer or impose
120
+ any additional or different terms or conditions on, or
121
+ apply any Effective Technological Measures to, the
122
+ Licensed Material if doing so restricts exercise of the
123
+ Licensed Rights by any recipient of the Licensed
124
+ Material.
125
+
126
+ 6. <ins>No endorsement.</ins> Nothing in this Public License constitutes or
127
+ may be construed as permission to assert or imply that You
128
+ are, or that Your use of the Licensed Material is, connected
129
+ with, or sponsored, endorsed, or granted official status by,
130
+ the Licensor or others designated to receive attribution as
131
+ provided in Section 3(a)(1)(A)(i).
132
+
133
+ b. **Other rights.**
134
+
135
+ 1. Moral rights, such as the right of integrity, are not
136
+ licensed under this Public License, nor are publicity,
137
+ privacy, and/or other similar personality rights; however, to
138
+ the extent possible, the Licensor waives and/or agrees not to
139
+ assert any such rights held by the Licensor to the limited
140
+ extent necessary to allow You to exercise the Licensed
141
+ Rights, but not otherwise.
142
+
143
+ 2. Patent and trademark rights are not licensed under this
144
+ Public License.
145
+
146
+ 3. To the extent possible, the Licensor waives any right to
147
+ collect royalties from You for the exercise of the Licensed
148
+ Rights, whether directly or through a collecting society
149
+ under any voluntary or waivable statutory or compulsory
150
+ licensing scheme. In all other cases the Licensor expressly
151
+ reserves any right to collect such royalties.
152
+
153
+
154
+ ## Section 3 -- License Conditions.
155
+
156
+ Your exercise of the Licensed Rights is expressly made subject to the
157
+ following conditions.
158
+
159
+ a. **Attribution.**
160
+
161
+ 1. If You Share the Licensed Material (including in modified
162
+ form), You must:
163
+
164
+ a. retain the following if it is supplied by the Licensor with the Licensed Material:
165
+
166
+ &nbsp;&nbsp;&nbsp;&nbsp;i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
167
+
168
+ &nbsp;&nbsp;&nbsp;&nbsp;ii. a copyright notice;
169
+
170
+ &nbsp;&nbsp;&nbsp;&nbsp;iii. a notice that refers to this Public License;
171
+
172
+ &nbsp;&nbsp;&nbsp;&nbsp;iv. a notice that refers to the disclaimer of
173
+ warranties;
174
+
175
+ &nbsp;&nbsp;&nbsp;&nbsp;v. a URI or hyperlink to the Licensed Material to the
176
+ extent reasonably practicable;
177
+
178
+ b. indicate if You modified the Licensed Material and
179
+ retain an indication of any previous modifications; and
180
+
181
+ c. indicate the Licensed Material is licensed under this
182
+ Public License, and include the text of, or the URI or
183
+ hyperlink to, this Public License.
184
+
185
+ 3. You may satisfy the conditions in Section 3(a)(1) in any
186
+ reasonable manner based on the medium, means, and context in
187
+ which You Share the Licensed Material. For example, it may be
188
+ reasonable to satisfy the conditions by providing a URI or
189
+ hyperlink to a resource that includes the required
190
+ information.
191
+
192
+ 4. If requested by the Licensor, You must remove any of the
193
+ information required by Section 3(a)(1)(A) to the extent
194
+ reasonably practicable.
195
+
196
+ 5. If You Share Adapted Material You produce, the Adapter's
197
+ License You apply must not prevent recipients of the Adapted
198
+ Material from complying with this Public License.
199
+
200
+
201
+ ## Section 4 -- Sui Generis Database Rights.
202
+
203
+ Where the Licensed Rights include Sui Generis Database Rights that
204
+ apply to Your use of the Licensed Material:
205
+
206
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
207
+ to extract, reuse, reproduce, and Share all or a substantial
208
+ portion of the contents of the database;
209
+
210
+ b. if You include all or a substantial portion of the database
211
+ contents in a database in which You have Sui Generis Database
212
+ Rights, then the database in which You have Sui Generis Database
213
+ Rights (but not its individual contents) is Adapted Material; and
214
+
215
+ c. You must comply with the conditions in Section 3(a) if You Share
216
+ all or a substantial portion of the contents of the database.
217
+
218
+ For the avoidance of doubt, this Section 4 supplements and does not
219
+ replace Your obligations under this Public License where the Licensed
220
+ Rights include other Copyright and Similar Rights.
221
+
222
+
223
+ ## Section 5 -- Disclaimer of Warranties and Limitation of Liability.
224
+
225
+ **a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
226
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
227
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
228
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
229
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
230
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
231
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
232
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
233
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
234
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.**
235
+
236
+ **b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
237
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
238
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
239
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
240
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
241
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
242
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
243
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
244
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.**
245
+
246
+ c. The disclaimer of warranties and limitation of liability provided
247
+ above shall be interpreted in a manner that, to the extent
248
+ possible, most closely approximates an absolute disclaimer and
249
+ waiver of all liability.
250
+
251
+
252
+ ## Section 6 -- Term and Termination.
253
+
254
+ a. This Public License applies for the term of the Copyright and
255
+ Similar Rights licensed here. However, if You fail to comply with
256
+ this Public License, then Your rights under this Public License
257
+ terminate automatically.
258
+
259
+ b. Where Your right to use the Licensed Material has terminated under
260
+ Section 6(a), it reinstates:
261
+
262
+ 1. automatically as of the date the violation is cured, provided
263
+ it is cured within 30 days of Your discovery of the
264
+ violation; or
265
+
266
+ 2. upon express reinstatement by the Licensor.
267
+
268
+ &nbsp;&nbsp;&nbsp;&nbsp;For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
269
+
270
+ c. For the avoidance of doubt, the Licensor may also offer the
271
+ Licensed Material under separate terms or conditions or stop
272
+ distributing the Licensed Material at any time; however, doing so
273
+ will not terminate this Public License.
274
+
275
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
276
+ License.
277
+
278
+
279
+ ## Section 7 -- Other Terms and Conditions.
280
+
281
+ a. The Licensor shall not be bound by any additional or different
282
+ terms or conditions communicated by You unless expressly agreed.
283
+
284
+ b. Any arrangements, understandings, or agreements regarding the
285
+ Licensed Material not stated herein are separate from and
286
+ independent of the terms and conditions of this Public License.
287
+
288
+
289
+ ## Section 8 -- Interpretation.
290
+
291
+ a. For the avoidance of doubt, this Public License does not, and
292
+ shall not be interpreted to, reduce, limit, restrict, or impose
293
+ conditions on any use of the Licensed Material that could lawfully
294
+ be made without permission under this Public License.
295
+
296
+ b. To the extent possible, if any provision of this Public License is
297
+ deemed unenforceable, it shall be automatically reformed to the
298
+ minimum extent necessary to make it enforceable. If the provision
299
+ cannot be reformed, it shall be severed from this Public License
300
+ without affecting the enforceability of the remaining terms and
301
+ conditions.
302
+
303
+ c. No term or condition of this Public License will be waived and no
304
+ failure to comply consented to unless expressly agreed to by the
305
+ Licensor.
306
+
307
+ d. Nothing in this Public License constitutes or may be interpreted
308
+ as a limitation upon, or waiver of, any privileges and immunities
309
+ that apply to the Licensor or You, including from the legal
310
+ processes of any jurisdiction or authority.
@@ -0,0 +1 @@
1
+ graft padaquad