{ "info": { "author": "Joscha Diehl", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "linear-combination\n------------------\n\nA small library implementing linear combinations of \"stuff\".\nSuch a linear combination is stored as a map, mapping \"stuff\" to its coefficient.\nThat is {\"a\" 5, \"b\" 17} stands for the linear combination 5 * \"a\" + 17 * \"b\"::\n\n import linear_combination.linear_combination as lc\n lc1 = lc.LinearCombination( {\"x\":7,\"y\":8} )\n lc2 = lc.LinearCombination( {\"x\":2.1, \"z\":3} )\n print( lc1 + lc2 )\n # => \"+9.10 x +8 y +3 z\"\n\nThe main application is to `Hopf Algebras `_.\nThe package comes with two sample implementations of Hopf algebrase;\nthe concatenation Hop algebra and, its dual, the shuffle algebras (Reutenauer - Free Lie algebras).\n\nMuch of its code is borrowed from `free-lie-algebra-py `_, by Jeremy Reizenstein::\n\n import linear_combination.linear_combination as lc\n import linear_combination.words as words\n\n print( lc.LinearCombination.lift( words.ShuffleWord( (1,2 ) ) ) * lc.LinearCombination.lift( words.ShuffleWord( (3,4 ) ) ) )\n # => +1 1234 +1 1324 +1 1342 +1 3124 +1 3142 +1 3412\n\n\nInstallation\n------------\n\nInstall with::\n\n pip install linear-combination-py\nor::\n pip install git+git://github.com/diehlj/linear-combination-py\n\nCopyright \u00a9 2018 Joscha Diehl\n\nDistributed under the `Eclipse Public License `_.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/diehlj/linear-combination-py", "keywords": "", "license": "Eclipse Public License", "maintainer": "", "maintainer_email": "", "name": "linear-combination-py", "package_url": "https://pypi.org/project/linear-combination-py/", "platform": "", "project_url": "https://pypi.org/project/linear-combination-py/", "project_urls": { "Homepage": "https://github.com/diehlj/linear-combination-py" }, "release_url": "https://pypi.org/project/linear-combination-py/0.1.4/", "requires_dist": [ "numpy", "scipy", "sympy" ], "requires_python": "", "summary": "A small library implementing linear combinations of \"stuff\".", "version": "0.1.4" }, "last_serial": 4258331, "releases": { "0.1.4": [ { "comment_text": "", "digests": { "md5": "1a5111cd60ca99f65a14b2f8cd338d8c", "sha256": "9496a084a9013ebfb6996210998256e8d47378efaa3153feada43d106e09f42b" }, "downloads": -1, "filename": "linear_combination_py-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "1a5111cd60ca99f65a14b2f8cd338d8c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7016, "upload_time": "2018-09-10T16:27:23", "url": "https://files.pythonhosted.org/packages/35/7f/08cf2733c469fdfbf42a01c06691365d676327a9abb08cbe4a87ce8861d9/linear_combination_py-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3eb31f2ed35560a08619d9436409c2ae", "sha256": "714602087455b830be2f80e8d49c4a6db6132a88b01df47d9d318c5f60695ff0" }, "downloads": -1, "filename": "linear-combination-py-0.1.4.tar.gz", "has_sig": false, "md5_digest": "3eb31f2ed35560a08619d9436409c2ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5941, "upload_time": "2018-09-10T16:27:24", "url": "https://files.pythonhosted.org/packages/d4/06/3eb97b7b3c1bb2e0e51da4c7e316e93de6443240aa68adb413ffaf7b5c2e/linear-combination-py-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1a5111cd60ca99f65a14b2f8cd338d8c", "sha256": "9496a084a9013ebfb6996210998256e8d47378efaa3153feada43d106e09f42b" }, "downloads": -1, "filename": "linear_combination_py-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "1a5111cd60ca99f65a14b2f8cd338d8c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7016, "upload_time": "2018-09-10T16:27:23", "url": "https://files.pythonhosted.org/packages/35/7f/08cf2733c469fdfbf42a01c06691365d676327a9abb08cbe4a87ce8861d9/linear_combination_py-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3eb31f2ed35560a08619d9436409c2ae", "sha256": "714602087455b830be2f80e8d49c4a6db6132a88b01df47d9d318c5f60695ff0" }, "downloads": -1, "filename": "linear-combination-py-0.1.4.tar.gz", "has_sig": false, "md5_digest": "3eb31f2ed35560a08619d9436409c2ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5941, "upload_time": "2018-09-10T16:27:24", "url": "https://files.pythonhosted.org/packages/d4/06/3eb97b7b3c1bb2e0e51da4c7e316e93de6443240aa68adb413ffaf7b5c2e/linear-combination-py-0.1.4.tar.gz" } ] }