pyvpmr 240308__cp311-cp311-macosx_10_9_x86_64.whl → 240515__cp311-cp311-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.
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyvpmr
3
- Version: 240308
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 <int> precision multiplier (default: 6)
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-311-darwin.so,sha256=Ojw23lytxKBxLy3OgW1FwRbmY_7JoWOQapjHJ3jbp78,12346912
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=3Ij8bI-sb8yCMxXItr4MLlNoRGZb2WoUxQe9xIFR_DQ,111
9
+ pyvpmr-240515.dist-info/top_level.txt,sha256=Eg1XIUGMpHxqPFJiuE5mRh-LSacMJfhz3QoVoApXeQY,15
10
+ pyvpmr-240515.dist-info/METADATA,sha256=4w20ZH3qc8esRsPDrKiSMIFoUie2jXW19wPe8NZ_D9g,50527
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: bdist_wheel (0.43.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp311-cp311-macosx_10_9_x86_64
5
5
 
Binary file
@@ -1,10 +0,0 @@
1
- _pyvpmr.cpython-311-darwin.so,sha256=PvEWbe9bARGAZuwYFNVYwyMXV3JIsPoblKFjiOrLpdE,12328688
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=2rnFQKN1y4ODxAzmbuA5Z6aEng-PoJTYpqGpnJDGdxw,111
9
- pyvpmr-240308.dist-info/top_level.txt,sha256=Eg1XIUGMpHxqPFJiuE5mRh-LSacMJfhz3QoVoApXeQY,15
10
- pyvpmr-240308.dist-info/METADATA,sha256=B6paQawLbeILwNmxAlSMxH6c23o1sWXqxmb3TqpOqrQ,49972