{"id":19731479,"url":"https://github.com/aaronjsutton/easyroot","last_synced_at":"2026-05-11T21:38:51.208Z","repository":{"id":56909798,"uuid":"118532787","full_name":"aaronjsutton/EasyRoot","owner":"aaronjsutton","description":"Swift framework to simplify radicals.","archived":false,"fork":false,"pushed_at":"2018-01-29T17:44:47.000Z","size":289,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-21T11:51:58.790Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://aaronjsutton.github.io/EasyRoot/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aaronjsutton.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}},"created_at":"2018-01-23T00:13:42.000Z","updated_at":"2018-01-24T14:13:10.000Z","dependencies_parsed_at":"2022-08-21T04:20:38.909Z","dependency_job_id":null,"html_url":"https://github.com/aaronjsutton/EasyRoot","commit_stats":null,"previous_names":["aaronjsutton/easy-root"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronjsutton%2FEasyRoot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronjsutton%2FEasyRoot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronjsutton%2FEasyRoot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aaronjsutton%2FEasyRoot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aaronjsutton","download_url":"https://codeload.github.com/aaronjsutton/EasyRoot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241056442,"owners_count":19901784,"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":[],"created_at":"2024-11-12T00:21:13.168Z","updated_at":"2026-05-11T21:38:51.177Z","avatar_url":"https://github.com/aaronjsutton.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Logo](https://aaronjsutton.github.io/EasyRoot/img/logo.png)\n\nA Swift framework for simplifying radicals.\n\n[![Build Status](https://travis-ci.org/aaronjsutton/EasyRoot.svg?branch=master)](https://travis-ci.org/aaronjsutton/EasyRoot)\n\n## Usage\n\n### [CocoaPods](http://cocoapods.org)\n\nAdd EasyRoot to your Podfile:\n\n```ruby\npod 'EasyRoot'\n```\n\nAnd run `pod install`\n\n## Example\n\nTo use the `Radical` object:\n```swift\n// Simplify the square root of 27\n// Create the radical object\nlet expression = Radical(root: 27)\n// Simplify the expression\nexpression.simplify()\n// Print the result\nprint(\"\\(expression.coefficient) roots of \\(expression.radicand)\")\n// =\u003e 3 roots of 3\n```\n\nCurrently, the expression will remain the same if the simplified result contains an imaginary number.\n\nFor more examples, see the [documentation](https://aaronjsutton.github.io/EasyRoot/)\n\n## Features\n\nCurrently supports simplifying integer-only radicals. For example:\n\n- Root 4\n  - Result: 2\n- 3 root -27\n  - Result: -3\n\nAnd so forth.\n\n## Contributing\n\n#### Bugs\n\nFeel free to open issues for any bugs found.\n\n#### Pull Requests\n\nIf you wish to contribute to EasyRoot, create a new branch, implement your feature or fix, and then submit a pull request.\n\n#### Documentation\n\nGenerate documentation with [Jazzy](https://github.com/realm/jazzy)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronjsutton%2Feasyroot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faaronjsutton%2Feasyroot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faaronjsutton%2Feasyroot/lists"}