mxlpy-native 0.1.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.
@@ -0,0 +1 @@
1
+ include c/*.c c/*.h c/*.md c/*.txt
@@ -0,0 +1,6 @@
1
+ Metadata-Version: 2.4
2
+ Name: mxlpy-native
3
+ Version: 0.1.0
4
+ Summary: Compiled ODE solver for MxlPy's Native integrator
5
+ License-Expression: MIT
6
+ Requires-Python: >=3.12
@@ -0,0 +1,3 @@
1
+ # mxlpy-native
2
+
3
+ The compiled Radau solver behind MxlPy's `Native` integrator. Install it with `pip install "mxlpy[native]"`, not on its own.
@@ -0,0 +1,26 @@
1
+
2
+ Copyright (c) 2004, UNIGE
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are
6
+ met:
7
+
8
+ - Redistributions of source code must retain the above copyright
9
+ notice, this list of conditions and the following disclaimer.
10
+
11
+ - Redistributions in binary form must reproduce the above copyright
12
+ notice, this list of conditions and the following disclaimer in the
13
+ documentation and/or other materials provided with the distribution.
14
+
15
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS �AS
16
+ IS� AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
17
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
18
+ PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
19
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
20
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
21
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
22
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
23
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
24
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
+
@@ -0,0 +1,3 @@
1
+ `radau5.c`, `dc_decsol.c`, `decsol.c`, `f2c.h` and `libf2c_stubs.c` are copied from `pkg-js/mxlweb-core/src-c` at 279349a, plus its then-uncommitted `radau5.c` changes: non-finite steps are rejected, and `radau5_jac_growth` limits how far the step can grow over a Jacobian's lifetime. They are Hairer and Wanner's solvers (see `HAIRER-LICENCE.txt`).
2
+
3
+ `mxn_radau.c` is written for MxlPy. It is compiled unchanged into both the native wheel and `radau.wasm`.