Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 467 Bytes

README.rst

File metadata and controls

23 lines (16 loc) · 467 Bytes

Polyval2d High Precision

Now, Linux wheels are available.

Compile on MacOS

$ brew install mpfr gmp
$ pip install .

Usage

>>> from polyval2d_mp  import polyval2d
>>> import numpy as np
>>> polyval2d([1.0, 2.0, 3.0, 4.0], [2.0, 3.0, 4.0, 5.0], np.ones((3,3)), 1000) # Use precision == 1000 digits
array([ 21.,  91., 273., 651.])