pyvpmr 240308__cp310-cp310-macosx_10_9_x86_64.whl → 240515__cp310-cp310-macosx_10_9_x86_64.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.
- _pyvpmr.cpython-310-darwin.so +0 -0
- pyvpmr/.dylibs/libtbb.12.12.dylib +0 -0
- {pyvpmr-240308.dist-info → pyvpmr-240515.dist-info}/METADATA +17 -2
- pyvpmr-240515.dist-info/RECORD +10 -0
- {pyvpmr-240308.dist-info → pyvpmr-240515.dist-info}/WHEEL +1 -1
- pyvpmr/.dylibs/libtbb.12.11.dylib +0 -0
- pyvpmr-240308.dist-info/RECORD +0 -10
- {pyvpmr-240308.dist-info → pyvpmr-240515.dist-info}/LICENSE +0 -0
- {pyvpmr-240308.dist-info → pyvpmr-240515.dist-info}/top_level.txt +0 -0
_pyvpmr.cpython-310-darwin.so
CHANGED
Binary file
|
Binary file
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyvpmr
|
3
|
-
Version:
|
3
|
+
Version: 240515
|
4
4
|
Summary: The VPMR Algorithm
|
5
5
|
Author-email: Theodore Chang <tlcfem@gmail.com>
|
6
6
|
Maintainer-email: Theodore Chang <tlcfem@gmail.com>
|
@@ -802,6 +802,16 @@ if __name__ == '__main__':
|
|
802
802
|
> The compilation would take minutes and around 2 GB memory.
|
803
803
|
> You need to install libraries `gmp`, `mpfr` and `tbb` before compiling.
|
804
804
|
|
805
|
+
#### Docker
|
806
|
+
|
807
|
+
To avoid the hassle of installing dependencies, you can use the provided `Dockerfile`.
|
808
|
+
For example,
|
809
|
+
|
810
|
+
```bash
|
811
|
+
wget -q https://raw.githubusercontent.com/TLCFEM/vpmr/master/Dockerfile
|
812
|
+
docker build -t vpmr -f Dockerfile .
|
813
|
+
```
|
814
|
+
|
805
815
|
#### Windows
|
806
816
|
|
807
817
|
Use the following instructions based on [MSYS2](https://www.msys2.org/), or follow the Linux instructions below with
|
@@ -849,7 +859,7 @@ Options:
|
|
849
859
|
-n <int> number of terms (default: 10)
|
850
860
|
-d <int> number of precision bits (default: 512)
|
851
861
|
-q <int> quadrature order (default: 500)
|
852
|
-
-m <
|
862
|
+
-m <float> precision multiplier (default, minimum: 1.5)
|
853
863
|
-nc <int> controls the maximum exponent (default: 4)
|
854
864
|
-e <float> tolerance (default: 1E-8)
|
855
865
|
-k <string> file name of kernel function (default: exp(-t^2/4))
|
@@ -858,6 +868,11 @@ Options:
|
|
858
868
|
-h print this help message
|
859
869
|
```
|
860
870
|
|
871
|
+
The minimum required precision can be estimated by the parameter $$n$$.
|
872
|
+
The algorithm involves the computation of $$C^{4n}_{2n}$$ and $$2^{4n}$$.
|
873
|
+
The number of precision bits shall be at least $$\log_2(C^{4n}_{2n})+4n$$.
|
874
|
+
In the implementation, this number will be further multiplied by the parameter $$m$$.
|
875
|
+
|
861
876
|
#### Example
|
862
877
|
|
863
878
|
The default kernel is `exp(-t^2/4)`. One can run the application with the following command:
|
@@ -0,0 +1,10 @@
|
|
1
|
+
_pyvpmr.cpython-310-darwin.so,sha256=oHkDDpj5vsiwBpm1ZMmLxcJiVBaSP7_kRtl2GsaIgq4,12330176
|
2
|
+
pyvpmr/__init__.py,sha256=Bi-DREXwct7QQutAWxBFY8y-nW2qto9JHaG_6pGsA-w,4829
|
3
|
+
pyvpmr/.dylibs/libgmp.10.dylib,sha256=wmdidr8avFWum3bQ4SdfAf6p0V7fuSl3LXaQQhdGeFw,486064
|
4
|
+
pyvpmr/.dylibs/libmpfr.6.dylib,sha256=rkHO2k_E8OmFgbEEi19EsH5BsIdXkEqOdIfBtUGNUDQ,485904
|
5
|
+
pyvpmr/.dylibs/libtbb.12.12.dylib,sha256=9-tkKOg46GlxEECtHiCXqEMed57dpnV5NufWBpt6jgg,396368
|
6
|
+
pyvpmr-240515.dist-info/RECORD,,
|
7
|
+
pyvpmr-240515.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
8
|
+
pyvpmr-240515.dist-info/WHEEL,sha256=5gVbVe_w8vFuKIeI1RffqCqgT_cNTJucal8EyR-41SQ,111
|
9
|
+
pyvpmr-240515.dist-info/top_level.txt,sha256=Eg1XIUGMpHxqPFJiuE5mRh-LSacMJfhz3QoVoApXeQY,15
|
10
|
+
pyvpmr-240515.dist-info/METADATA,sha256=4w20ZH3qc8esRsPDrKiSMIFoUie2jXW19wPe8NZ_D9g,50527
|
Binary file
|
pyvpmr-240308.dist-info/RECORD
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
_pyvpmr.cpython-310-darwin.so,sha256=iGbS5F67kv5Xc6zNakMcYwsGyloYA8f75JkEEDkx0ZM,12328560
|
2
|
-
pyvpmr/__init__.py,sha256=Bi-DREXwct7QQutAWxBFY8y-nW2qto9JHaG_6pGsA-w,4829
|
3
|
-
pyvpmr/.dylibs/libtbb.12.11.dylib,sha256=L7EvWho8o4KbVikpAqItU5mZI6oZbjEJ5EZHx9Z4ZlU,395984
|
4
|
-
pyvpmr/.dylibs/libgmp.10.dylib,sha256=wmdidr8avFWum3bQ4SdfAf6p0V7fuSl3LXaQQhdGeFw,486064
|
5
|
-
pyvpmr/.dylibs/libmpfr.6.dylib,sha256=rkHO2k_E8OmFgbEEi19EsH5BsIdXkEqOdIfBtUGNUDQ,485904
|
6
|
-
pyvpmr-240308.dist-info/RECORD,,
|
7
|
-
pyvpmr-240308.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
8
|
-
pyvpmr-240308.dist-info/WHEEL,sha256=qW9xlwewyQBufEUzmM-8CIjZ7fR659LOSrcgouui4Z4,111
|
9
|
-
pyvpmr-240308.dist-info/top_level.txt,sha256=Eg1XIUGMpHxqPFJiuE5mRh-LSacMJfhz3QoVoApXeQY,15
|
10
|
-
pyvpmr-240308.dist-info/METADATA,sha256=B6paQawLbeILwNmxAlSMxH6c23o1sWXqxmb3TqpOqrQ,49972
|
File without changes
|
File without changes
|