{ "info": { "author": "refraction-ray", "author_email": "refraction-ray@protonmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3" ], "description": "# NUMKL\n\n[![version](https://img.shields.io/pypi/v/numkl.svg)](https://pypi.org/project/numkl/)\n[![conda](https://anaconda.org/refraction-ray/numkl/badges/version.svg)](https://anaconda.org/refraction-ray/numkl)\n\n\nThis package works as the python wrapper to directly call some MKL routines while keep the same interface with numpy.\n\n## Install\n\nUse `pip install numkl`\n\nOr `conda install -c refraction-ray numkl`\n\nYou should make sure Intel MKL library and Intel compilers are installed and configured for relevant enviroment variables. Especially, environment variable `MKLROOT` is necessary for pip installation. And proper `LD_LIBRARY_PATH` is necessary in runtime.\n\nCurrently, you also need cython preinstalled in your python enviroment for pip installation. \n\nNote this package is in its very early age, no guarantee on successful installation and usage. And this package only supports linux. \n\n## Example\n\n```python\nimport numpy as np\nfrom numkl import eig\na = np.array([[0.,1.0],[1.0,0.]])\ne,v = eig.eighx(a)\n```\n\n## Why\n\nThis package is not reinventing wheels like numpy, instead, it provide features that current numpy doesn't provide.\n\nFor the symmetric or Hermitian matrix eigenproblem, numpy has already provided the interface `numpy.linalg.eigh` and `numpy.linalg.eigvalsh`. By correctly configuring and linking, these two functions also can directly calling MKL routines. So why bother?\n\nThere are at least two aspects why numpy eigenproblem interface is not good enough:\n\n1. The 32 bit int overflow and unable to calculate eigenproblem for large matrix. See [this issue](https://github.com/numpy/numpy/issues/13956). Note currently this issue cannot be solve by simply hacking the compiling parameters, instead one need to change the source code of numpy.\n2. The memory waste due to keeping the input matrix. See [this issue](https://github.com/numpy/numpy/issues/14024). Actually, it costs two times of the space in numpy for getting all eigenvalues than directly using lapack routine.\n\nIn a word, this package is designed for \"push-to-the-limit\" style computations, where you can compute the eigenproblem for matrix dimension larger than 32766. And the interface is seamlessly integrated with numpy.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/refraction-ray/numkl", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "numkl", "package_url": "https://pypi.org/project/numkl/", "platform": "", "project_url": "https://pypi.org/project/numkl/", "project_urls": { "Homepage": "https://github.com/refraction-ray/numkl" }, "release_url": "https://pypi.org/project/numkl/0.0.4/", "requires_dist": null, "requires_python": "", "summary": "A thin cython/python wrapper on some routines from Intel MKL", "version": "0.0.4" }, "last_serial": 5597641, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "0711f21a13483c0b493e7ded06568f14", "sha256": "060bf7269b7dec2e3825d9f27126413f4a5ac474be0d0995bcafdf72ce6dc37e" }, "downloads": -1, "filename": "numkl-0.0.1.tar.gz", "has_sig": false, "md5_digest": "0711f21a13483c0b493e7ded06568f14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4629, "upload_time": "2019-07-21T13:05:45", "url": "https://files.pythonhosted.org/packages/1f/f5/c41ec17b3c851d714163bc52003be4bb2eca0d3a3fe5d37c5d453b0715c3/numkl-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "12f075525749fe10c28587bfe48aefc9", "sha256": "454963f5ac1d6d619d293ff68629a695289eaafbbc160625b260fd99c17ad89b" }, "downloads": -1, "filename": "numkl-0.0.2.tar.gz", "has_sig": false, "md5_digest": "12f075525749fe10c28587bfe48aefc9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 125789, "upload_time": "2019-07-21T14:57:54", "url": "https://files.pythonhosted.org/packages/42/e6/4b6847c574b7e46726e7bdfee5dd3c25852e036980158024bdf94669af5d/numkl-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "2fb98967294be407843b1b8b692603e5", "sha256": "bc29d364073a2d1508815f88ba0417b6a2d98f2841a0208dca8956008ccebe9f" }, "downloads": -1, "filename": "numkl-0.0.3.tar.gz", "has_sig": false, "md5_digest": "2fb98967294be407843b1b8b692603e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 130070, "upload_time": "2019-07-23T13:17:26", "url": "https://files.pythonhosted.org/packages/f4/22/9d2b7275d0baab19679948860a8ae1823e07eeb72f513dc548bf79e5721b/numkl-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "6a6e1e5385d47714dff47782f00996a3", "sha256": "994dd8b0e299b65bda6354427aeaa7608128d41913d6077c5c5bd7c29597ffa7" }, "downloads": -1, "filename": "numkl-0.0.4.tar.gz", "has_sig": false, "md5_digest": "6a6e1e5385d47714dff47782f00996a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 133548, "upload_time": "2019-07-29T04:28:32", "url": "https://files.pythonhosted.org/packages/ab/75/252643dd281522feef0ff0b692c3e669ce2f1318ded78091c6dc440a4bec/numkl-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6a6e1e5385d47714dff47782f00996a3", "sha256": "994dd8b0e299b65bda6354427aeaa7608128d41913d6077c5c5bd7c29597ffa7" }, "downloads": -1, "filename": "numkl-0.0.4.tar.gz", "has_sig": false, "md5_digest": "6a6e1e5385d47714dff47782f00996a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 133548, "upload_time": "2019-07-29T04:28:32", "url": "https://files.pythonhosted.org/packages/ab/75/252643dd281522feef0ff0b692c3e669ce2f1318ded78091c6dc440a4bec/numkl-0.0.4.tar.gz" } ] }