Metadata-Version: 2.1
Name: xprec
Version: 1.3.2
Summary: xprec precision numpy extension
Home-page: https://github.com/tuwien-cms/xprec
Author: Markus Wallerberger
Author-email: markus.wallerberger@tuwien.ac.at
License: UNKNOWN
Description: Library for double-double arithmetic calculation
        ================================================
        
        Extension module for numpy providing the `ddouble` data type.
        
        Loading this module registers an additional scalar data type `ddouble` with
        numpy implementing double-double arithmetic.  You can use use the data type
        by passing `dtype=xprec.ddouble` to numpy functions.
        
        The `xprec.linalg` module provides some linear algebra subroutines, in
        particular QR, RRQR, SVD and truncated SVD.
        
        Installation
        ------------
        
            $ pip install xprec
        
        Quickstart
        ----------
        
            import numpy as np
            x = np.linspace(0, np.pi)
        
            # import double-double precision data type
            from xprec import ddouble
            x = x.astype(ddouble)
            y = x * x + 1
            z = np.sin(x)
        
            # do some linalg
            import xprec.linalg
            A = np.vander(np.linspace(-1, 1, 80, dtype=ddouble), 150)
            U, s, VT = xprec.linalg.svd(A)
        
        Licence
        -------
        The xprec library is
        Copyright (C) 2021 Markus Wallerberger.
        Licensed under the MIT license (see LICENSE.txt).
        
        Contains code from the QD library, which is
        Copyright (C) 2012 Yozo Hida, Xiaoye S. Li, David H. Bailey.
        Released under a modified BSD license (see QD-LICENSE.txt).
        
Keywords: double-double
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3
Description-Content-Type: text/markdown
Provides-Extra: test
