{"id":22729342,"url":"https://github.com/ahotko/mathextended.interpolation","last_synced_at":"2025-09-11T01:08:29.639Z","repository":{"id":178931442,"uuid":"128892317","full_name":"ahotko/MathExtended.Interpolation","owner":"ahotko","description":"Pure C# Library with some Interpolations (2D)","archived":false,"fork":false,"pushed_at":"2020-07-06T11:09:19.000Z","size":80,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-29T19:59:00.615Z","etag":null,"topics":["csharp","csharp-library","interpolation","interpolations"],"latest_commit_sha":null,"homepage":null,"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/ahotko.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,"zenodo":null}},"created_at":"2018-04-10T07:31:24.000Z","updated_at":"2025-05-23T12:24:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"ecf824b9-bf69-471e-932e-68348a0b67fe","html_url":"https://github.com/ahotko/MathExtended.Interpolation","commit_stats":null,"previous_names":["ahotko/mathextended.interpolation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ahotko/MathExtended.Interpolation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahotko%2FMathExtended.Interpolation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahotko%2FMathExtended.Interpolation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahotko%2FMathExtended.Interpolation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahotko%2FMathExtended.Interpolation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahotko","download_url":"https://codeload.github.com/ahotko/MathExtended.Interpolation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahotko%2FMathExtended.Interpolation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274557583,"owners_count":25307516,"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-09-10T02:00:12.551Z","response_time":83,"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":["csharp","csharp-library","interpolation","interpolations"],"created_at":"2024-12-10T18:09:35.570Z","updated_at":"2025-09-11T01:08:29.629Z","avatar_url":"https://github.com/ahotko.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MathExtended.Interpolation\nPure C# Interpolation (2D) Library (Playground). It is a C# rewrite of my old Delphi Interpolation Library.\n\n## Legal information and credits\n\nMathExtended.Interpolation is project by Ales Hotko and was first released in April 2018. It's licensed under the MIT license.\n\n## Usage\n\n```csharp\nusing MathExtended.Interpolations;\n\nvar interpolation = new Interpolation();\ninterpolation.Add(1, 2);\ninterpolation.Add(5, 8);\ninterpolation.Add(7.7, 5);\ninterpolation.Add(10, 15);\ninterpolation.Add(11, 11.3);\n\n//Linear interpolation\ndouble interpolatedValueLinear = interpolation.Linear(3.5);\n//...or...\ninterpolation.Linear();\ndouble interpolatedValueLinear = interpolation.Interpolate(3.5);\n\n//Spline interpolation\ndouble interpolatedValue = interpolation.Spline(3.5);\n//...or...\ninterpolation.Spline();\ndouble interpolatedValue = interpolation.Interpolate(3.5);\t\n\n//Cosine interpolation\ndouble interpolatedValue = interpolation.Cosine(3.5);\n//...or...\ninterpolation.Cosine();\ndouble interpolatedValue = interpolation.Interpolate(3.5);\t\n```\n\n## Optional parameters and overloads\n\nAll classes have overloaded constructors and overloaded `Add` methods, that take:\n* Single X and Y value - `Add(double ValueX, double ValueY)`\n* Dictionary of X and Y values - `Add(Dictionary\u003cdouble, double\u003e Values)`\n* Arrays of X and Y values `Add(double[] ValuesX, double[] ValuesY)`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahotko%2Fmathextended.interpolation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahotko%2Fmathextended.interpolation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahotko%2Fmathextended.interpolation/lists"}