{ "info": { "author": "Andrei Lapets", "author_email": "a@lapets.io", "bugtrack_url": null, "classifiers": [], "description": "========\nlagrange\n========\n\nPython library with a basic native implementation of Lagrange interpolation over finite fields.\n\n.. image:: https://badge.fury.io/py/lagrange.svg\n :target: https://badge.fury.io/py/lagrange\n :alt: PyPI version and link.\n\nPurpose\n-------\nNative implementation of the Lagrange interpolation algorithm over finite fields.\n\nPackage Installation and Usage\n------------------------------\nThe package is available on PyPI::\n\n python -m pip install lagrange\n\nThe library can be imported in the usual way::\n\n from lagrange import lagrange\n\nExamples\n--------\nInterpolation can be performed on points represented in a variety of ways::\n\n >>> lagrange({1: 15, 2: 9, 3: 3}, 17)\n 4\n >>> lagrange([(1,15), (2,9), (3,3)], 17)\n 4\n >>> lagrange(((1,15), (2,9), (3,3)), 17)\n 4\n >>> lagrange({(1,15), (2,9), (3,3)}, 17)\n 4\n >>> lagrange([15, 9, 3], 17)\n 4\n >>> lagrange(\\\n {1: 119182, 2: 11988467, 3: 6052427, 4: 8694701,\\\n 5: 9050123, 6: 3676518, 7: 558333, 8: 12198248,\\\n 9: 7344866, 10: 10114014, 11: 2239291, 12: 2515398},\\\n 15485867)\n 123\n >>> lagrange(\\\n [119182, 11988467, 6052427, 8694701, 9050123, 3676518,\\\n 558333, 12198248, 7344866, 10114014, 2239291, 2515398],\\\n 15485867)\n 123\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lapets/lagrange", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "lagrange", "package_url": "https://pypi.org/project/lagrange/", "platform": "", "project_url": "https://pypi.org/project/lagrange/", "project_urls": { "Homepage": "https://github.com/lapets/lagrange" }, "release_url": "https://pypi.org/project/lagrange/0.1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Python library with a basic native implementation of Lagrange interpolation over finite fields.", "version": "0.1.0.0" }, "last_serial": 3489111, "releases": { "0.1.0.0": [ { "comment_text": "", "digests": { "md5": "57bcf255433050cb62300fa4f9a169cc", "sha256": "ba47a945e18b813d76ba81733435b8ac628dc941aed405b72ad8abc9b5cbe985" }, "downloads": -1, "filename": "lagrange-0.1.0.0.tar.gz", "has_sig": false, "md5_digest": "57bcf255433050cb62300fa4f9a169cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2223, "upload_time": "2018-01-14T18:10:16", "url": "https://files.pythonhosted.org/packages/7b/ca/01296b067c6443162364f57c6c72a27d8ace15614257716577f0bd9ffc24/lagrange-0.1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "57bcf255433050cb62300fa4f9a169cc", "sha256": "ba47a945e18b813d76ba81733435b8ac628dc941aed405b72ad8abc9b5cbe985" }, "downloads": -1, "filename": "lagrange-0.1.0.0.tar.gz", "has_sig": false, "md5_digest": "57bcf255433050cb62300fa4f9a169cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2223, "upload_time": "2018-01-14T18:10:16", "url": "https://files.pythonhosted.org/packages/7b/ca/01296b067c6443162364f57c6c72a27d8ace15614257716577f0bd9ffc24/lagrange-0.1.0.0.tar.gz" } ] }