{"id":25070575,"url":"https://github.com/endreot/polynomial","last_synced_at":"2025-03-31T16:25:39.489Z","repository":{"id":113926179,"uuid":"142916439","full_name":"EndreoT/Polynomial","owner":"EndreoT","description":"API for manipulating polynomials and performing polynomial algebraic and calculus operations","archived":false,"fork":false,"pushed_at":"2019-04-20T02:58:09.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T21:39:40.231Z","etag":null,"topics":["api","polynomial","python","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EndreoT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-30T18:59:39.000Z","updated_at":"2019-04-23T16:15:03.000Z","dependencies_parsed_at":"2023-05-29T23:45:34.348Z","dependency_job_id":null,"html_url":"https://github.com/EndreoT/Polynomial","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndreoT%2FPolynomial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndreoT%2FPolynomial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndreoT%2FPolynomial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EndreoT%2FPolynomial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EndreoT","download_url":"https://codeload.github.com/EndreoT/Polynomial/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246498007,"owners_count":20787240,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","polynomial","python","unit-testing"],"created_at":"2025-02-06T21:32:20.546Z","updated_at":"2025-03-31T16:25:39.484Z","avatar_url":"https://github.com/EndreoT.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polynomial\n\n### Description\nA simple API for manipulating polynomials and performing polynomial algebraic and calculus operations.\n\n### Motivation\nGives users an easy to use mathematical polynomial API. Great for checking homework answers involving polynomials. \n\n### Result\nCreate a polynomial object first with the constructor accepting either of two arguments:\nFirst, an array of either type int or float. The array's index becomes the polynomial term, and the value of that index is the term's coefficient. Example:\n``` Python\n\u003e\u003e\u003e poly2 = Polynomial([4, 2, 0, 5, 0])\n\u003e\u003e\u003e str(poly2)\n'5X^3 + 2X + 4'\n```\n\nSecond, a list of tuples of length two, each representing a full polynomial term. The first tuple element corresponds to the term's coefficient and is either an int or float. The second tuple element corresponds to the term's power and is must also be either an int or float.\nExamples:\n``` Python\n\u003e\u003e\u003e poly = Polynomial([(2, 3), (5, -2), (.5, 1), (6, 3)])\n\u003e\u003e\u003e str(poly)\n'8X^3 + 5X^-2 + 1/2X'\n```\n\n### Future Improvements\n- [ ] Allow for multi-variable polynomials. Example: 3X^2 -7XY + Z^3 + XYZ\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendreot%2Fpolynomial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendreot%2Fpolynomial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendreot%2Fpolynomial/lists"}