{"id":19881543,"url":"https://github.com/chifisource/carouselarrays.jl","last_synced_at":"2025-03-01T02:46:59.917Z","repository":{"id":50612000,"uuid":"519493729","full_name":"ChifiSource/CarouselArrays.jl","owner":"ChifiSource","description":"Repeating Arrays for Julia","archived":false,"fork":false,"pushed_at":"2022-07-31T06:29:37.000Z","size":8,"stargazers_count":12,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T18:52:25.944Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Julia","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/ChifiSource.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":"2022-07-30T11:06:45.000Z","updated_at":"2024-02-02T19:28:40.000Z","dependencies_parsed_at":"2022-09-04T18:22:40.872Z","dependency_job_id":null,"html_url":"https://github.com/ChifiSource/CarouselArrays.jl","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/ChifiSource%2FCarouselArrays.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChifiSource%2FCarouselArrays.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChifiSource%2FCarouselArrays.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChifiSource%2FCarouselArrays.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChifiSource","download_url":"https://codeload.github.com/ChifiSource/CarouselArrays.jl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241309104,"owners_count":19941725,"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-12T17:14:34.834Z","updated_at":"2025-03-01T02:46:59.900Z","avatar_url":"https://github.com/ChifiSource.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align = \"center\"\u003e\n  \u003cimg src = https://github.com/ChifiSource/image_dump/blob/main/odddata/carousel.png  width = 200/img\u003e\n  \u003ch6\u003eCarousel Arrays\u003c/h6\u003e\n  \u003cdiv align = \"left\"\u003e\n  \nCarousel Arrays are Arrays that can be indexed repeatedly. Indexes below 1 will index starting with the end of the Vector, and indexes above the length of the Vector will index the beginning of the Vector.\n```julia\njulia\u003e using CarouselArrays\n\njulia\u003e c = CarouselArray([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])\nCarouselArray{Int64}([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])\n\njulia\u003e c[25]\n5\n\njulia\u003e c[-8]\n2\n\njulia\u003e c[-2]\n8\n\njulia\u003e c[0]\n10\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchifisource%2Fcarouselarrays.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchifisource%2Fcarouselarrays.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchifisource%2Fcarouselarrays.jl/lists"}