{ "info": { "author": "Lucas Lee", "author_email": "luc4sl33@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# linalg\n\n![PyPI](https://img.shields.io/pypi/v/linalg.svg)\n[![Documentation Status](https://readthedocs.org/projects/linalg/badge/?version=latest)](https://linalg.readthedocs.io/en/latest/?badge=latest)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/linalg.svg)\n\n## Installation\n\nInstallation can be done through `pip`. You must have python version >= 3.6.\n\n pip install linalg\n\n## Docs\n\nDocs can be found at the [readthedocs page](https://linalg.readthedocs.io/en/latest/)\n\n## What is this?\n\nNOT intended to be the best or fastest.\n\nNOT intended to be production-grade (yet).\n\nIS intended to be fully vanilla python3.\n\nIS meant as an educational tool.\n\n## Technical details\n\nThis package uses [black](https://github.com/python/black) for formatting and [semver](https://semver.org/) for versioning.\n\n## Usage\n\nThis package provides the `Matrix` class and utility functions.\n\n import linalg\n from linalg import * # import the Matrix class and utility functions top-level\n from linalg import Matrix # import the Matrix class\n\nTo create a matrix object, initialize it with a 2D list or use `Matrix.zeroes()` or `Matrix.identity()`. You can also use `random_matrix()`.\n\n mat = linalg.Matrix([[3, 4, 5], [2, 5, -1], [0, 2, 1]]) # 3x3 matrix\n mat = linalg.as_matrix([[3, 4, 5], [2, 5, -1], [0, 2, 1]]) # 3x3 matrix, alternative notation\n mat = linalg.zeroes(4, 2) # 4x2 zero matrix\n mat = linalg.identity(4) # 4x4 identity matrix\n mat = linalg.random_matrix((2, 3), (-10, 10)) # 2x3 matrix with elements within (-10, 10)\n\nThis package implements matrix multiplication with the python matrix multiplication operator `@` (`__matmul__`). The matrix multiplication of two `linalg.Matrix` A, B is `C = A @ B`.\n\nAfter that, you can use multiple functions to perform linear algebraic operations as explained in the above linked docs.\n\n## Todo\n\n- [ ] Add other linear algebraic operations\n- [ ] Implement vectors\n- [ ] Add documentation", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rocketll/linalg", "keywords": "linear algebra,math", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "linalg", "package_url": "https://pypi.org/project/linalg/", "platform": "", "project_url": "https://pypi.org/project/linalg/", "project_urls": { "Homepage": "https://github.com/rocketll/linalg" }, "release_url": "https://pypi.org/project/linalg/1.0.4/", "requires_dist": null, "requires_python": ">=3.6.0", "summary": "A simple linear algebra package written in vanilla python3", "version": "1.0.4" }, "last_serial": 5441621, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b28546c6fb4d297e4abd91e8ae381dbb", "sha256": "1a38820b5f1bd70f3a5df3bccb99870510715ee352d3d7f667b357b0f3b61df5" }, "downloads": -1, "filename": "linalg-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b28546c6fb4d297e4abd91e8ae381dbb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 995, "upload_time": "2019-06-22T16:54:39", "url": "https://files.pythonhosted.org/packages/be/f6/d37ba1a7d042797d10bc954e319b56f732db48c4c750022648964ebc2d20/linalg-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "5e5d375c03c531d28bed0b4143e21265", "sha256": "422318a7ccf302004bc8620c6b1789673024d7edecccdc62ba136fcb9aa11870" }, "downloads": -1, "filename": "linalg-0.1.1.tar.gz", "has_sig": false, "md5_digest": "5e5d375c03c531d28bed0b4143e21265", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 1597, "upload_time": "2019-06-22T17:18:00", "url": "https://files.pythonhosted.org/packages/b4/51/999a80295734927226f79c8dc4dda04195b84428a0f70da5acb5c260a025/linalg-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "dd550512cbb42dada09a955e5badf199", "sha256": "9665a53f24544fd7819af0392f3af3f2cf392b73769422dedf3a3228e74c9a33" }, "downloads": -1, "filename": "linalg-0.2.0.tar.gz", "has_sig": false, "md5_digest": "dd550512cbb42dada09a955e5badf199", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 3884, "upload_time": "2019-06-23T23:14:32", "url": "https://files.pythonhosted.org/packages/3c/65/693a05f4f448b3e1bb11035f1f4fc5981f20135d252bbe4405de7423411e/linalg-0.2.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "ee8d138293d4b0419893d29489f7a30f", "sha256": "ece41fa1148a5de2aafd0794386afcc13928070cc06bd7b6f9a33ac64ecb0cea" }, "downloads": -1, "filename": "linalg-1.0.0.tar.gz", "has_sig": false, "md5_digest": "ee8d138293d4b0419893d29489f7a30f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 4513, "upload_time": "2019-06-24T13:43:39", "url": "https://files.pythonhosted.org/packages/87/b0/f15c3d9016fef64bd334f2248f9b399cdf880fe0734f64205a6d1a7322c9/linalg-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "1cdcb6cf29680c8d059b6e01f40e0e7d", "sha256": "2cf213e72bbe4bf5d3a7ebb313e396e737c5b025442ca4aa1d06648c670be5e2" }, "downloads": -1, "filename": "linalg-1.0.1.tar.gz", "has_sig": false, "md5_digest": "1cdcb6cf29680c8d059b6e01f40e0e7d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 4674, "upload_time": "2019-06-24T16:25:15", "url": "https://files.pythonhosted.org/packages/bf/a7/1a0672ffa685c3c070bf35deb9b8d8f2c01431bc8e34ba89b5d53e57c9e4/linalg-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "1a2822aba6fffadf3d4b063faf20325f", "sha256": "2d37ad9e11fe8b6b3f88b1a6fc455e17094278316fcb7e34e4f6b97d9052f682" }, "downloads": -1, "filename": "linalg-1.0.2.tar.gz", "has_sig": false, "md5_digest": "1a2822aba6fffadf3d4b063faf20325f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 4636, "upload_time": "2019-06-24T16:36:06", "url": "https://files.pythonhosted.org/packages/4e/32/afac8ebb1318cb2bc2cf0b4da5978b5a74a6dca96b8ceb5fb32374cedac1/linalg-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "b34558423b4541ccc9d4e9ee583f4905", "sha256": "fb5f95320524b2a9706682c901d90163e2e2c9c8592eb08bf91d7e503630a11a" }, "downloads": -1, "filename": "linalg-1.0.3.tar.gz", "has_sig": false, "md5_digest": "b34558423b4541ccc9d4e9ee583f4905", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 4699, "upload_time": "2019-06-24T16:41:37", "url": "https://files.pythonhosted.org/packages/6b/22/40e9fcdf1de6e84d061ee09e801533a337db8f03f23b6cf777c6061b42f8/linalg-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "878e7d326552a2d8462b3261054af605", "sha256": "9a7c7e477e146b3d1d4651171346e4eda6f359b10a36ab1e176fa5aa9967305f" }, "downloads": -1, "filename": "linalg-1.0.4.tar.gz", "has_sig": false, "md5_digest": "878e7d326552a2d8462b3261054af605", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 4701, "upload_time": "2019-06-24T16:51:09", "url": "https://files.pythonhosted.org/packages/15/68/842a0b2821c347941611ec6bdac84656d9ee8118509b27b9779c50500880/linalg-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "878e7d326552a2d8462b3261054af605", "sha256": "9a7c7e477e146b3d1d4651171346e4eda6f359b10a36ab1e176fa5aa9967305f" }, "downloads": -1, "filename": "linalg-1.0.4.tar.gz", "has_sig": false, "md5_digest": "878e7d326552a2d8462b3261054af605", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6.0", "size": 4701, "upload_time": "2019-06-24T16:51:09", "url": "https://files.pythonhosted.org/packages/15/68/842a0b2821c347941611ec6bdac84656d9ee8118509b27b9779c50500880/linalg-1.0.4.tar.gz" } ] }