tfc 1.3.0__tar.gz → 1.3.2__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.
- {tfc-1.3.0/src/tfc.egg-info → tfc-1.3.2}/PKG-INFO +2 -2
- {tfc-1.3.0 → tfc-1.3.2}/README.md +1 -1
- {tfc-1.3.0 → tfc-1.3.2}/pyproject.toml +4 -3
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc/mtfc.py +2 -5
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utfc.py +2 -5
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc/version.py +1 -1
- {tfc-1.3.0 → tfc-1.3.2/src/tfc.egg-info}/PKG-INFO +2 -2
- {tfc-1.3.0 → tfc-1.3.2}/LICENSE +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/MANIFEST.in +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/setup.cfg +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/setup.py +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc/__init__.py +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc/py.typed +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/BF.cc +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/BF.h +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/BF_Py.cc +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/BF_Py.py +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/CMakeLists.txt +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/CeSolver.py +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/Html.py +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/Latex.py +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/MakePlot.py +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/MayaviMakePlot.py +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/PlotlyMakePlot.py +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/TFCUtils.py +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/__init__.py +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc/utils/tfc_types.py +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc.egg-info/SOURCES.txt +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc.egg-info/dependency_links.txt +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc.egg-info/requires.txt +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/src/tfc.egg-info/top_level.txt +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/tests/test_BF.py +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/tests/test_ODE.py +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/tests/test_PDE.py +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/tests/test_ce_solver.py +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/tests/test_complex_ODE.py +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/tests/test_nBF.py +0 -0
- {tfc-1.3.0 → tfc-1.3.2}/tests/test_step.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tfc
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.2
|
|
4
4
|
Summary: Theory of Functional Connections (TFC): A functional interpolation framework with applications in differential equations.
|
|
5
5
|
Home-page: https://github.com/leakec/tfc.git
|
|
6
6
|
Author: Carl Leake and Hunter Johnston
|
|
@@ -103,7 +103,7 @@ The authors of this repsitory and the associated theory have gone to lengths to
|
|
|
103
103
|
author = {Carl Leake and Hunter Johnston},
|
|
104
104
|
title = {{TFC: A Functional Interpolation Framework}},
|
|
105
105
|
url = {https://github.com/leakec/tfc},
|
|
106
|
-
version = {1.3.
|
|
106
|
+
version = {1.3.2},
|
|
107
107
|
year = {2025},
|
|
108
108
|
}
|
|
109
109
|
@article{TFC,
|
|
@@ -66,7 +66,7 @@ The authors of this repsitory and the associated theory have gone to lengths to
|
|
|
66
66
|
author = {Carl Leake and Hunter Johnston},
|
|
67
67
|
title = {{TFC: A Functional Interpolation Framework}},
|
|
68
68
|
url = {https://github.com/leakec/tfc},
|
|
69
|
-
version = {1.3.
|
|
69
|
+
version = {1.3.2},
|
|
70
70
|
year = {2025},
|
|
71
71
|
}
|
|
72
72
|
@article{TFC,
|
|
@@ -8,8 +8,8 @@ build-backend = "setuptools.build_meta"
|
|
|
8
8
|
|
|
9
9
|
[project]
|
|
10
10
|
name = "tfc"
|
|
11
|
-
version = "1.3.
|
|
12
|
-
requires-python = ">=3.11
|
|
11
|
+
version = "1.3.2"
|
|
12
|
+
requires-python = ">=3.11"
|
|
13
13
|
readme = "README.md"
|
|
14
14
|
dynamic = ["dependencies", "classifiers", "authors", "license", "description"]
|
|
15
15
|
|
|
@@ -20,7 +20,7 @@ target-version = ['py311']
|
|
|
20
20
|
[tool.cibuildwheel]
|
|
21
21
|
before-build = "pip install setuptools wheel numpy pybind11 mypy"
|
|
22
22
|
skip = "*-musllinux*"
|
|
23
|
-
manylinux-x86_64-image = "
|
|
23
|
+
manylinux-x86_64-image = "manylinux_2_28"
|
|
24
24
|
test-requires = ["pytest"]
|
|
25
25
|
test-command = "pytest {package}/tests"
|
|
26
26
|
test-skip = "*-macosx_arm64"
|
|
@@ -34,6 +34,7 @@ archs = ["arm64"]
|
|
|
34
34
|
|
|
35
35
|
[tool.cibuildwheel.windows]
|
|
36
36
|
archs = ["AMD64"]
|
|
37
|
+
skip = "cp314t-*"
|
|
37
38
|
|
|
38
39
|
[[tool.cibuildwheel.overrides]]
|
|
39
40
|
select = "*-musllinux*"
|
|
@@ -584,7 +584,7 @@ class mtfc:
|
|
|
584
584
|
stablehlo.ConcatenateOp(x, 0).result,
|
|
585
585
|
mlir.ir_constant(np.int32(d)),
|
|
586
586
|
mlir.ir_constant(np.int32(self.dim)),
|
|
587
|
-
mlir.ir_constant(bool(full)),
|
|
587
|
+
mlir.ir_constant(np.bool(full)),
|
|
588
588
|
mlir.ir_constant(np.int32(dim0)),
|
|
589
589
|
mlir.ir_constant(np.int32(dim1)),
|
|
590
590
|
],
|
|
@@ -623,10 +623,7 @@ class mtfc:
|
|
|
623
623
|
out_tans = np.zeros((dim0, dim1))
|
|
624
624
|
for k in range(n):
|
|
625
625
|
if not (type(arg_tans[k]) is ad.Zero):
|
|
626
|
-
|
|
627
|
-
flag = onp.any(arg_tans[k].val != 0)
|
|
628
|
-
else:
|
|
629
|
-
flag = onp.any(arg_tans[k] != 0)
|
|
626
|
+
flag = onp.any(arg_tans[k] != 0)
|
|
630
627
|
if flag:
|
|
631
628
|
dark = tuple(d[j] + 1 if k == j else d[j] for j in range(len(d)))
|
|
632
629
|
if flat:
|
|
@@ -339,7 +339,7 @@ class utfc:
|
|
|
339
339
|
mlir.ir_constant(np.int32(self.basisClass.identifier)),
|
|
340
340
|
x,
|
|
341
341
|
mlir.ir_constant(np.int32(d)),
|
|
342
|
-
mlir.ir_constant(bool(full)),
|
|
342
|
+
mlir.ir_constant(np.bool(full)),
|
|
343
343
|
mlir.ir_constant(np.int32(dim0)),
|
|
344
344
|
mlir.ir_constant(np.int32(dim1)),
|
|
345
345
|
],
|
|
@@ -362,10 +362,7 @@ class utfc:
|
|
|
362
362
|
x = arg_vals[0]
|
|
363
363
|
dx = arg_tans[0]
|
|
364
364
|
if not (dx is ad.Zero):
|
|
365
|
-
|
|
366
|
-
flag = onp.any(dx.val != 0)
|
|
367
|
-
else:
|
|
368
|
-
flag = onp.any(dx != 0)
|
|
365
|
+
flag = onp.any(dx != 0)
|
|
369
366
|
if flag:
|
|
370
367
|
if len(dx.shape) == 1:
|
|
371
368
|
out_tans = Hjax(x, d=d + 1, full=full) * onp.expand_dims(dx, 1)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tfc
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.2
|
|
4
4
|
Summary: Theory of Functional Connections (TFC): A functional interpolation framework with applications in differential equations.
|
|
5
5
|
Home-page: https://github.com/leakec/tfc.git
|
|
6
6
|
Author: Carl Leake and Hunter Johnston
|
|
@@ -103,7 +103,7 @@ The authors of this repsitory and the associated theory have gone to lengths to
|
|
|
103
103
|
author = {Carl Leake and Hunter Johnston},
|
|
104
104
|
title = {{TFC: A Functional Interpolation Framework}},
|
|
105
105
|
url = {https://github.com/leakec/tfc},
|
|
106
|
-
version = {1.3.
|
|
106
|
+
version = {1.3.2},
|
|
107
107
|
year = {2025},
|
|
108
108
|
}
|
|
109
109
|
@article{TFC,
|
{tfc-1.3.0 → tfc-1.3.2}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tfc-1.3.0 → tfc-1.3.2}/setup.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|