pynumerics 2.3.0__py3-none-any.whl
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.
- pynumerics/__init__.py +73 -0
- pynumerics/_bin/Microsoft.CodeAnalysis.CSharp.dll +0 -0
- pynumerics/_bin/Microsoft.CodeAnalysis.LICENSE.txt +27 -0
- pynumerics/_bin/Microsoft.CodeAnalysis.dll +0 -0
- pynumerics/_bin/Numerics.dll +0 -0
- pynumerics/_bin/pynumerics.runtimeconfig.json +15 -0
- pynumerics/_coverage.py +3825 -0
- pynumerics/_util.py +237 -0
- pynumerics/_version.py +40 -0
- pynumerics/bootstrap.py +593 -0
- pynumerics/callbacks.py +791 -0
- pynumerics/copulas.py +910 -0
- pynumerics/data.py +2233 -0
- pynumerics/differentiation.py +348 -0
- pynumerics/distributions.py +4043 -0
- pynumerics/download.py +623 -0
- pynumerics/enums.py +119 -0
- pynumerics/errors.py +245 -0
- pynumerics/functions.py +1142 -0
- pynumerics/goodness_of_fit.py +699 -0
- pynumerics/graphs.py +556 -0
- pynumerics/hypothesis_tests.py +445 -0
- pynumerics/identity.py +144 -0
- pynumerics/integration.py +677 -0
- pynumerics/linalg.py +1408 -0
- pynumerics/machine_learning.py +1335 -0
- pynumerics/marshal.py +733 -0
- pynumerics/mathematics.py +1053 -0
- pynumerics/mcmc.py +1406 -0
- pynumerics/multivariate.py +1539 -0
- pynumerics/ode.py +156 -0
- pynumerics/optimization.py +1736 -0
- pynumerics/probability.py +966 -0
- pynumerics/py.typed +0 -0
- pynumerics/regional.py +522 -0
- pynumerics/roots.py +274 -0
- pynumerics/runtime.py +384 -0
- pynumerics/sampling.py +1758 -0
- pynumerics/special.py +1079 -0
- pynumerics/statistics.py +1958 -0
- pynumerics/timeseries.py +1326 -0
- pynumerics-2.3.0.dist-info/METADATA +142 -0
- pynumerics-2.3.0.dist-info/RECORD +46 -0
- pynumerics-2.3.0.dist-info/WHEEL +5 -0
- pynumerics-2.3.0.dist-info/licenses/LICENSE +10 -0
- pynumerics-2.3.0.dist-info/top_level.txt +1 -0
pynumerics/__init__.py
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"""RMC.Numerics for Python: the Numerics assembly, the single CoreCLR loader and typed wrappers.
|
|
2
|
+
|
|
3
|
+
Importing the package does not start the .NET runtime; the first wrapper call does, or
|
|
4
|
+
call :func:`initialize` explicitly. Submodules:
|
|
5
|
+
|
|
6
|
+
``runtime``
|
|
7
|
+
The CoreCLR loader (one runtime and one ``Numerics`` assembly per process) and
|
|
8
|
+
:func:`add_assembly` for dependent assemblies.
|
|
9
|
+
``marshal``
|
|
10
|
+
Bit-exact bulk copies between NumPy and .NET arrays.
|
|
11
|
+
``identity``
|
|
12
|
+
The version and SHA-256 of the loaded ``Numerics`` assembly.
|
|
13
|
+
``distributions``, ``multivariate``, ``copulas``
|
|
14
|
+
Distributions; array inputs use the Numerics array overloads.
|
|
15
|
+
``regional``
|
|
16
|
+
Hosking-Wallis regional frequency analysis: discordancy, heterogeneity, goodness of fit and growth curves.
|
|
17
|
+
``data``, ``statistics``, ``sampling``, ``mathematics``, ``bootstrap``
|
|
18
|
+
Paired data and interpolation, statistics, sampling designs and the general bootstrap,
|
|
19
|
+
the numerical utilities and Fourier transforms, and uncertainty analysis.
|
|
20
|
+
``mcmc``
|
|
21
|
+
The MCMC samplers, their results and the convergence diagnostics.
|
|
22
|
+
``hypothesis_tests``, ``goodness_of_fit``, ``probability``
|
|
23
|
+
Hypothesis tests, goodness-of-fit measures and probability combination rules.
|
|
24
|
+
``integration``, ``differentiation``, ``roots``, ``ode``
|
|
25
|
+
Numerical integration, numerical derivatives, root finding and ODE solvers.
|
|
26
|
+
``optimization``, ``graphs``
|
|
27
|
+
Local and global optimizers, knapsack and dynamic programming, and network shortest paths.
|
|
28
|
+
``special``, ``linalg``
|
|
29
|
+
Special functions and the Numerics matrix, vector and decomposition types.
|
|
30
|
+
``functions``, ``timeseries``
|
|
31
|
+
Univariate functions, parameter link functions and time series.
|
|
32
|
+
``download``
|
|
33
|
+
Downloads of USGS, NOAA GHCN-Daily, Water Survey of Canada and BOM records, and offline parsers
|
|
34
|
+
for saved responses.
|
|
35
|
+
``machine_learning``
|
|
36
|
+
Regression, classification, clustering and dimension reduction.
|
|
37
|
+
``callbacks``
|
|
38
|
+
Python callables and Roslyn-compiled C# source as the .NET delegates Numerics takes.
|
|
39
|
+
``enums``
|
|
40
|
+
Python enums for the Numerics enums the wrappers accept.
|
|
41
|
+
``errors``
|
|
42
|
+
The translation of Numerics exceptions into Python exceptions, applied by every wrapper.
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
from pynumerics._version import (
|
|
46
|
+
NUMERICS_ASSEMBLY_VERSION,
|
|
47
|
+
NUMERICS_BUILD_COMMAND,
|
|
48
|
+
NUMERICS_SHA256,
|
|
49
|
+
NUMERICS_SOURCE_COMMIT,
|
|
50
|
+
NUMERICS_VERSION,
|
|
51
|
+
__version__,
|
|
52
|
+
)
|
|
53
|
+
from pynumerics.identity import (
|
|
54
|
+
NumericsIdentity,
|
|
55
|
+
assert_numerics_identity,
|
|
56
|
+
numerics_identity,
|
|
57
|
+
)
|
|
58
|
+
from pynumerics.runtime import (
|
|
59
|
+
RuntimeLoadError,
|
|
60
|
+
add_assembly,
|
|
61
|
+
get_runtime_info,
|
|
62
|
+
initialize,
|
|
63
|
+
is_initialized,
|
|
64
|
+
loaded_assemblies,
|
|
65
|
+
runtime_dir,
|
|
66
|
+
)
|
|
67
|
+
|
|
68
|
+
__all__ = [
|
|
69
|
+
"NUMERICS_ASSEMBLY_VERSION", "NUMERICS_BUILD_COMMAND", "NUMERICS_SHA256", "NUMERICS_SOURCE_COMMIT",
|
|
70
|
+
"NUMERICS_VERSION", "NumericsIdentity", "RuntimeLoadError",
|
|
71
|
+
"__version__", "add_assembly", "assert_numerics_identity", "get_runtime_info", "initialize", "is_initialized",
|
|
72
|
+
"loaded_assemblies", "numerics_identity", "runtime_dir",
|
|
73
|
+
]
|
|
Binary file
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Microsoft.CodeAnalysis.dll and Microsoft.CodeAnalysis.CSharp.dll in this directory are the
|
|
2
|
+
unmodified assemblies of the Microsoft.CodeAnalysis.Common and Microsoft.CodeAnalysis.CSharp
|
|
3
|
+
NuGet packages (https://github.com/dotnet/roslyn), distributed under the MIT license:
|
|
4
|
+
|
|
5
|
+
The MIT License (MIT)
|
|
6
|
+
|
|
7
|
+
Copyright (c) .NET Foundation and Contributors
|
|
8
|
+
|
|
9
|
+
All rights reserved.
|
|
10
|
+
|
|
11
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
12
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
13
|
+
in the Software without restriction, including without limitation the rights
|
|
14
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
15
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
16
|
+
furnished to do so, subject to the following conditions:
|
|
17
|
+
|
|
18
|
+
The above copyright notice and this permission notice shall be included in all
|
|
19
|
+
copies or substantial portions of the Software.
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
+
SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"runtimeOptions": {
|
|
3
|
+
"tfm": "net10.0",
|
|
4
|
+
"framework": {
|
|
5
|
+
"name": "Microsoft.NETCore.App",
|
|
6
|
+
"version": "10.0.0"
|
|
7
|
+
},
|
|
8
|
+
"configProperties": {
|
|
9
|
+
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
|
|
10
|
+
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false,
|
|
11
|
+
"System.Runtime.TieredCompilation.QuickJitForLoops": false,
|
|
12
|
+
"System.Runtime.TieredPGO": false
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|