{"id":21486233,"url":"https://github.com/hardcode3/polynomialtools","last_synced_at":"2025-03-17T10:11:39.699Z","repository":{"id":183259578,"uuid":"669845545","full_name":"Hardcode3/PolynomialTools","owner":"Hardcode3","description":"A basic C++ tool to solve polynomials of n'th order (companion matrix) -\u003e with unit tests /!\\ Eigen3 lib","archived":false,"fork":false,"pushed_at":"2023-08-12T16:54:51.000Z","size":12,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T19:38:49.622Z","etag":null,"topics":["cmake","eigen3","mathematics","polynomials","resolution"],"latest_commit_sha":null,"homepage":"","language":"C++","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/Hardcode3.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":"2023-07-23T16:05:47.000Z","updated_at":"2024-12-30T11:13:24.000Z","dependencies_parsed_at":"2025-01-23T19:45:31.422Z","dependency_job_id":null,"html_url":"https://github.com/Hardcode3/PolynomialTools","commit_stats":null,"previous_names":["hardcode3/polynomialbasics","hardcode3/polynomialtools"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hardcode3%2FPolynomialTools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hardcode3%2FPolynomialTools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hardcode3%2FPolynomialTools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hardcode3%2FPolynomialTools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hardcode3","download_url":"https://codeload.github.com/Hardcode3/PolynomialTools/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244014132,"owners_count":20383715,"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":["cmake","eigen3","mathematics","polynomials","resolution"],"created_at":"2024-11-23T13:20:02.140Z","updated_at":"2025-03-17T10:11:39.655Z","avatar_url":"https://github.com/Hardcode3.png","language":"C++","readme":"# PolynomialTools\n## Description\n\nA simple C++ / CMake project to deal with n'th order polynomial resolution and other simple polynomial operations.\n\nThe project is currently under development and is delivered with unit tests.\n\nThe main feature is the resolution of polynomials of degree n by using the method of the companion matrix applied to its monic form. The eigen values of this matrix correspond to its roots and both real and imaginary roots are found by using this method.\nDepending on the needs, you can pick real, imaginary of every roots of the polynomial.\nThis resolution can be useful in many topics of applied mathematics.\n\nResults have been compared to numpy.roots() function from matplotlib (python library), giving the exact same output.  \n\n## Dependencies\n\nThe dependency is limited to the library [Eigen3](https://eigen.tuxfamily.org/index.php?title=Main_Page)\n\n## Installation\n\nIn order to use the library:\n- Embed the needed files in your project\n- Or clone the whole project as a git submodule in your existing project\n\nEigen can be:\n- An existing target in your host repository\n- An external target (vcpkg...)\n- A local target created by cloning the repository when setting the flag POLYNOMIALS_CLONE_SUBMODULE_EIGEN to ON\n\nYou are free to chose the intergration in your project.\n\nFindPackage is not suported on this library.\n\n## Sources\nThe algorithm has been writen using:\n- The [Wikipedia page](https://en.wikipedia.org/wiki/Companion_matrix)\n- [R. A. Horn \u0026 C. R. Johnson, Matrix Analysis. Cambridge, UK: Cambridge University Press, 1999, pp. 146-7.](https://anandinstitute.org/pdf/Roger_A.Horn.%20_Matrix_Analysis_2nd_edition(BookSee.org).pdf)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardcode3%2Fpolynomialtools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhardcode3%2Fpolynomialtools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardcode3%2Fpolynomialtools/lists"}