{"id":13413759,"url":"https://github.com/khezen/rootfinding","last_synced_at":"2025-10-30T09:11:11.069Z","repository":{"id":57496949,"uuid":"155464777","full_name":"khezen/rootfinding","owner":"khezen","description":"root-finding library","archived":false,"fork":false,"pushed_at":"2020-03-22T09:14:10.000Z","size":13,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-07-31T20:52:49.581Z","etag":null,"topics":["brent","go","golang","root-finding"],"latest_commit_sha":null,"homepage":"","language":"Go","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/khezen.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-10-30T22:31:48.000Z","updated_at":"2023-11-12T14:20:43.000Z","dependencies_parsed_at":"2022-09-03T23:50:35.673Z","dependency_job_id":null,"html_url":"https://github.com/khezen/rootfinding","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/khezen/rootfinding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khezen%2Frootfinding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khezen%2Frootfinding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khezen%2Frootfinding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khezen%2Frootfinding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khezen","download_url":"https://codeload.github.com/khezen/rootfinding/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khezen%2Frootfinding/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270653583,"owners_count":24622790,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["brent","go","golang","root-finding"],"created_at":"2024-07-30T20:01:48.408Z","updated_at":"2025-10-30T09:11:06.052Z","avatar_url":"https://github.com/khezen.png","language":"Go","readme":"# rootfinding\n\n[![GoDoc](https://img.shields.io/badge/go-documentation-blue.svg)](https://godoc.org/github.com/khezen/rootfinding)\n[![Build Status](https://github.com/khezen/rootfinding/workflows/build/badge.svg?branch=master)](https://github.com/khezen/rootfinding/actions?query=workflow%3Abuild) [![codecov](https://img.shields.io/codecov/c/github/khezen/rootfinding/master.svg)](https://codecov.io/gh/khezen/rootfinding)\n[![Go Report Card](https://goreportcard.com/badge/github.com/khezen/rootfinding)](https://goreportcard.com/report/github.com/khezen/rootfinding)\n\n`github.com/khezen/rootfinding`\n\n* Brent's Method\n\n## Example\n\n```golang\npackage main\n\nimport(\n    \"fmt\"\n    \"github.com/khezen/rootfinding\"\n)\n\nfunc f(x float64) float64 {\n\treturn math.Pow(x, 4) - 2*math.Pow(x, 2) + 0.25\n}\n\nconst(\n    intervalStart = -100\n    intervalEnd = 100\n    precision = 6\n)\nfunc main(){\n    root, err := rootfinding.Brent(f, intervalStart, intervalEnd, precision)\n    if err != nil {\n        panic(err)\n    }\n    fmt.Println(root)\n}\t\t\n```\n\n```bash\n0.366025403784438\n```","funding_links":[],"categories":["Science and Data Analysis","科学与数据分析","Relational Databases","数据分析与数据科学"],"sub_categories":["HTTP Clients","HTTP客户端","查询语"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhezen%2Frootfinding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhezen%2Frootfinding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhezen%2Frootfinding/lists"}