{"id":21928695,"url":"https://github.com/muellan/numeric_map","last_synced_at":"2025-03-22T12:24:57.107Z","repository":{"id":73309214,"uuid":"110269138","full_name":"muellan/numeric_map","owner":"muellan","description":"header-only library of numeric maps for C++14","archived":false,"fork":false,"pushed_at":"2017-11-10T16:37:59.000Z","size":39,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-27T11:49:57.036Z","etag":null,"topics":["cpp","cpp14","header-only","interpolation","map","numeric"],"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/muellan.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":"2017-11-10T16:37:35.000Z","updated_at":"2022-08-04T17:03:59.000Z","dependencies_parsed_at":"2023-04-13T01:24:20.684Z","dependency_job_id":null,"html_url":"https://github.com/muellan/numeric_map","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/muellan%2Fnumeric_map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muellan%2Fnumeric_map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muellan%2Fnumeric_map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/muellan%2Fnumeric_map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/muellan","download_url":"https://codeload.github.com/muellan/numeric_map/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244955096,"owners_count":20537889,"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":["cpp","cpp14","header-only","interpolation","map","numeric"],"created_at":"2024-11-28T22:27:37.549Z","updated_at":"2025-03-22T12:24:57.078Z","avatar_url":"https://github.com/muellan.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"AM numeric maps\n==============\n\nHeader-only library of numeric maps for C++14.\n\n\n## Quick Overview\n\n### Interpolating Maps\n\n#### ```interpolating_map\u003cKey,Value,Interpolator,KeyCompare,Allocator\u003e```\n  Interpolation function with a ```std::map``` like interface. Each ```{key,value}``` pair is a node (in the mathematical sense) of ```{domain,co-domain}``` values.\n\nDifferences to ```std::map```:\n  - nodes are stored in a sorted, contiguous array (```vector_map```)\n  - ```operator [] (size_t)``` allows indexed access to the nodes\n  - ```operator () (const Key\u0026 x)``` returns the (interpolated co-domain) value at (domain) point ```x```\n\n\n### Interpolators\n  - ```piecewise_constant``` \n  - ```piecewise_linear``` \n  - ```piecewise_log_linear```: piece-wise linear interpolation at position log(x)\n\n\n### Gradients\n  Gradients are polymorphic interpolating functions; think \"gradient\" as in \"color gradient\".\n\n  - ```gradient```: polymorphic base class \"interface\"\n  - ```interpolating_gradient```: gradient based on ```interpolating_map```\n\n\n\n## Requirements\n  - requires C++14 conforming compiler\n  - tested with g++ 6.1\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuellan%2Fnumeric_map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmuellan%2Fnumeric_map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmuellan%2Fnumeric_map/lists"}