{"id":21323395,"url":"https://github.com/sag2021/heapsort","last_synced_at":"2026-02-14T08:03:11.741Z","repository":{"id":260977517,"uuid":"874642677","full_name":"sag2021/heapsort","owner":"sag2021","description":"Heapsort for Fortran","archived":false,"fork":false,"pushed_at":"2024-10-21T15:15:57.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T14:55:54.844Z","etag":null,"topics":["heapsort","modernfortran","sort","sorting"],"latest_commit_sha":null,"homepage":"","language":"Fortran","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sag2021.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":"2024-10-18T07:45:34.000Z","updated_at":"2024-10-21T15:16:00.000Z","dependencies_parsed_at":"2024-11-04T02:18:08.497Z","dependency_job_id":"e426172a-2a5a-4d99-bd7a-e6c6b62bba0a","html_url":"https://github.com/sag2021/heapsort","commit_stats":null,"previous_names":["sag2021/heapsort"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sag2021/heapsort","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sag2021%2Fheapsort","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sag2021%2Fheapsort/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sag2021%2Fheapsort/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sag2021%2Fheapsort/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sag2021","download_url":"https://codeload.github.com/sag2021/heapsort/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sag2021%2Fheapsort/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29439821,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T07:24:13.446Z","status":"ssl_error","status_checked_at":"2026-02-14T07:23:58.969Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["heapsort","modernfortran","sort","sorting"],"created_at":"2024-11-21T20:23:43.569Z","updated_at":"2026-02-14T08:03:11.724Z","avatar_url":"https://github.com/sag2021.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Heapsort\n\nHeapsort subroutine for Fortran. Developed for a long-forgotten project. Code is Fortran 2003, \nbecause it makes selecting INTEGER easier. \n\nMain subroutine: heap_sort(data_in,nsize,perm)\n\n- data_in(nsize): A vector of reals to be sorted. The sorting is performed in place. \n- nsize: The number of points in data_in\n- perm(nsize): A vector that maps positions in the sorted vector back to the original, i.e. unsorted(perm(i)) = sorted(i)\n\n# Test\n\nThe test program sorts a random vector of reals and computes the permutation vector too.\nIt then checks that the sorted vector is actually sorted (in ascending order). It also\nchecks that the permutation vector performs the correct mapping of indices. \n\nCompiled and tested using gfortran 8.3:\n- gfortran -O3 heapsort.f90 test.f90 -o test -std=f2003\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsag2021%2Fheapsort","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsag2021%2Fheapsort","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsag2021%2Fheapsort/lists"}